body {
    background:#fff;
    font-family: "OpenSans", Arial, Helvetica, Sans-serif;
    color:#59595b;
}

img {
    max-width: 100%;
    display: block;
}

a {
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}


a:hover,
a:focus {
    text-decoration: none;
}

.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}
.row.no-gutters > [class^="col-"],
.row.no-gutters > [class*=" col-"] {
  padding-right: 0;
  padding-left: 0;
}

.subpage {
    position: absolute;
    z-index: 11;
    left: 0;
    top: 0;
    width: 30%;
    max-width: 400px;
}

.subpage .item {
    overflow: inherit;
    width: 100%;
}

.subpage .item .box {
    padding-bottom: 40%;
}


/*navbar*/
.navbar-header {
  float: none;
}
.navbar-toggle {
  display: block;
}
.navbar-collapse.collapse {
  display: none!important;
}
.navbar-nav {
  float: none!important;
}
.navbar-nav>li {
  float: none;
}
.navbar-collapse.collapse.in{
  display:block !important;
}

.navbar-toggle .icon-bar { background: #58585a; height: 5px; width: 38px; }

.navbar-brand { height: auto; width: 100%; }
.navbar-brand img { width: 100%; }
.navbar-toggle { float: left; }
.navbar,
.text {
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}

.navbar-collapse {
    position: absolute;
    width: 100%;
}

.navbar-nav > li a {
    background: #68686a;
    color:#fff;
    text-align: center;
    margin-bottom: 10px;
    font-family: "OpenSans-Bold", Arial, Helvetica, Sans-serif;
}

.nav > li > a:hover, 
.nav > li > a:focus,
.nav li .submenu li a:hover,
.nav > li.active > a {
    background: #000;
}

.nav > li.arrow a {
  background: url(../img/arrow-down.png) no-repeat 90% #000;
}

.nav li .submenu {
    display: none;
    padding-left: 0;
    list-style: none;
    width: 90%;
    margin: 0 auto;
}

.nav li .submenu li a {
  background: #99999a;
  display: block;
  margin-bottom: 10px;
  padding: 10px 15px;
  text-align: center;
  color:#fff;
}
/*navbar end*/


/* main */

.item .box { padding-bottom: 100%; background: #fff;  position: relative; }
.item .box2 { padding-bottom: 200%; overflow: hidden; }

.item.v2 .box { padding-bottom: 50%;  }
.item .boxWrap,
.twoBox {overflow: hidden; position: relative; }
.item .boxWrap a:hover:after,
.twoBox a:hover:after { 
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #ff0000;
    display: block;
    opacity: .6;
    
}

.item .boxWrap a .hover,
.twoBox a .hover {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 22;
    width: 100%;
    opacity: 0;
     -webkit-transition: opacity .3s ease-in;
       -moz-transition: opacity .3s ease-in;
        -ms-transition: opacity .3s ease-in;
         -o-transition: opacity .3s ease-in;
            transition: opacity .3s ease-in;
}

.item .boxWrap a:hover .hover,
.twoBox a:hover .hover { opacity: 1; }

.item .boxWrap a .hover img,
.twoBox a .hover img {
    margin: 0 auto;
    display: block;
}

.item .box.min { padding: 0; }
.item .minbox { 
    width: 50%; 
    float: left; 
    padding-bottom: 50%; 
    background: url(../img/minboxv2.jpg); 
    background-size: cover; 
    text-align: center; 
    position: relative; 
    
}

.item .minbox a {
    color:#fff;
    font-size: 18px; 
    display: block;
}

.item .minbox.v2 { background: url(../img/minbox.jpg); background-size: cover;}
.item .minbox .icon { margin: 15% 0; }
.item .minbox .icon img {  margin: 0 auto; }

.item .minbox:hover { background: url(../img/minbox.jpg); }
.item .minbox.v2:hover { background: url(../img/minboxv2.jpg); }

.item .boxinner {
    position: absolute;
    padding: 10%;
    width:100%;
    height: 100%;
}

.item .boxinner .text {
    font-size: 18px;
    text-align: center;
    color:#59595b;
}

.item .boxinner .text strong {
    font-size: 35px;
    color:#f01d25;
    font-family: "OpenSans-Bold", Arial, Helvetica, Sans-serif;
    border-bottom:1px solid #59595b;
    margin-bottom: 35px;
    display: inline-block;
}

.twoBox  {
    position: relative;
    overflow: hidden;
}

.twoBox a img,
.item .boxWrap .box2,
.item.v2 .boxWrap .box {
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.item .boxWrap .box2:hover,
.item.v2 .boxWrap .box:hover{
    transform:scale(1.1);
}

/* main end */

/*subpage*/
#content .detailContent {
    max-width: 960px;
    margin: 0 auto;
    border:5px solid #f01c24;
    padding: 100px 60px;
    position: relative;
    margin-top: -200px;
    margin-bottom: 80px;
    background: #fff;
    text-align: center;
    font-size: 18px;
}

#content .detailContent h1 {
    font-family: "OpenSans-Bold", Arial, Helvetica, Sans-serif;
    font-size: 35px;
    color:#f01d25;
    border-bottom: 1px solid #59595b;
    display: inline-block;
    line-height: normal;
    margin-bottom: 25px;
}


#content .linkArea ul { padding: 0; text-align: center; margin: 5% 0; }
#content .linkArea ul li { display: inline-block; vertical-align: middle; margin:  0 2%; }
#content .linkArea ul li a { font-size: 25px; font-family: "OpenSans-Bold", Arial, Helvetica, Sans-serif; color:#59595b; }


/*contact*/
#contactWrap .contact-caption {
    background: #262626;
    color:#fff;
    padding: 2% 0;
    position: relative;
}

#contactWrap .contact-caption p { font-size: 16px; font-family: "OpenSans-Light", Arial, Helvetica, Sans-serif; }
#contactWrap .contact-caption a { color:#fff; }
#contactWrap .contact-caption a.mail { color: #ec1c24; }

#contactWrap .contact-caption:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-top-color: #262626;
    border-width: 30px;
    margin-left: -30px;
    z-index: 22;
}
/*contact end */

footer {
    background: #262626;
    clear: both;
    padding: 20px 0;
}

footer .row { margin: 0; }

footer span { color:#ffffff; padding-top: 4%; display: block; }

footer .socialbuttons { width: 100%; text-align: center; padding:0; padding-top: 4%; }
footer .socialbuttons li { display: inline-block; margin: 0 10px; }
footer .socialbuttons li .fa { color:#fff; }



@media screen and (max-width: 1300px) {
    .item .minbox a { font-size: 14px; }
    .item .minbox a strong { font-size: 11px; }
    .item .minbox .icon {margin: 10% 0;}
    .item .boxinner {padding: 5%;}
}

@media screen and (max-width: 1100px) {
    .item .boxinner .text p {
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
    }
    .item .minbox .icon img {max-height: 20px; }
}

@media screen and (max-width: 767px) { 
     .item .minbox a strong { opacity: 1; }
     .item .minbox .icon img { width: 30%; height: inherit; max-height: 100%;}

     footer div { text-align: center !important; }
     footer a img { margin: 0 auto; }

     .item .box { padding-bottom: 50%; }
     .item .box2 { padding-bottom: 100%; }

     .subpage  { position: relative; }
     .subpage .item .box { padding-bottom: 11%; height: 70px; }
     .subpage .navbar-brand { padding: 5px 15px; width: 60%; max-width: 250px; }
     .subpage .navbar-toggle { float: right; }
     .subpage .item .boxinner { padding: 4%; }
     #content .detailContent { margin: 0; margin-bottom: 20px; padding: 50px 30px; font-size: 14px; }
     #content .detailContent h1 { font-size: 24px; }
     #content .linkArea ul li a { font-size: 14px; }

     .subpage { width: 100%; max-width: inherit; }

     .navbar-toggle .icon-bar { 
         height: 3px;
         width: 28px; 
     }

     #contactWrap .contact-caption p { font-size: 13px; }

    .item .boxWrap a .hover,
    .twoBox a .hover {
      width: 25%;
      left: 0;
      right: 0;
      margin: 0 auto;
    }
}

@media screen and (max-width: 640px) {
    .item .boxinner .text { font-size: 14px; }
    .item .boxinner .text strong { font-size: 18px; margin-bottom: 10px; }
    .item .boxinner .text p { -webkit-line-clamp: 5; }
    .subpage .navbar-brand { padding: 10px 15px; }
}

