/*   
Theme name: BigTuna
Theme URI: http://bigtuna.com
Description: A responsive WordPress theme
Author: BigTunaWeb
Author URI: http://bigtuna.com
Version: 1.0
*/

@charset "utf-8";

/* CSS RESET
================================ */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

a, a:hover {text-decoration: none;}
body {line-height: 1;}
ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none;}
:focus {outline: 0;}
ins {text-decoration: none;}
del {text-decoration: line-through;}
table {border-collapse: collapse; border-spacing: 0;}
td {vertical-align: top;}
html {overflow-y:scroll;}

/* GLOBAL DECLARATIONS
================================ */

body { font-family: 'Open Sans', sans-serif; font-size: 12px; -webkit-font-smoothing: antialiased; overflow: hidden; padding-bottom: 46px; }

@media only screen and (max-width: 991px) {
  body { padding-bottom: 66px; }
}

@media only screen and (max-width: 767px) {
  body { padding-bottom: 118px; }
}

.clear:after {
  content: "";
  display: table;
  clear: both;
}

.left { float: left; }
.right { float: right; }

.va-parent { font-size: 0; }
.va-parent > * { font-size: initial; }
.va-top { float: none; display: inline-block; vertical-align: top; }
.va-middle { float: none; display: inline-block; vertical-align: middle; }
.va-bottom { float: none; display: inline-block; vertical-align: bottom; }
.va-baseline { float: none; display: inline-block; vertical-align: baseline; }

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

.clear {
  content: "";
  display: table;
  clear: both;
}

/*header,
section,
main,
footer { padding: 15px 0; }*/


/* HEADER
================================ */

header { padding: 10px 0; background: url(images/header.jpg) center right no-repeat; background-size: cover; }

header .social-wrapper { font-size: 30px; margin: 5px 0; display: inline-block; }
header .social-wrapper a { display: inline-block; vertical-align: middle; }

a#logo img { display: block; margin: auto; }

@media only screen and (max-width: 991px) and (min-width: 768px) {
  header .social-wrapper { margin: 7px 0; }
}

@media only screen and (min-width: 768px) {
  header .social-wrapper { display: inline-block; vertical-align: middle; }
  a#logo { display: inline-block; max-width: 100px; }
  a#logo img { margin-left: 0; }
}

.phone-wrapper { display: inline-block; overflow: hidden; float: right; }

.phone-wrapper > *,
#phone > * { display: inline-block; vertical-align: middle; }

.phone-wrapper img { display: block; }
.phone-wrapper i { font-size: 25px; padding: 5px 10px; background: #252525; color: #fff; }
.phone-wrapper span { padding: 5px 15px; }
a#phone { display: inline-block; color: #252525; font-weight: 700; font-size: 16px; border-radius: 5px; background: #fff; border: 1px solid #000; overflow: hidden; }

@media only screen and (max-width: 767px) { 
    header {  text-align: center; }
    header .col-xs-12:last-of-type { padding: 0; }
    a#logo { display: block; float: none; margin: 25px auto 15px; text-align: center; }
    .phone-wrapper { float: none; margin: 25px; }
}


/* NAVIGATION
================================ */

/* NAVIGATION GENERAL STYLES
================================ */
nav { font-size: 18px; position: relative; font-family: 'Montserrat'; text-transform: uppercase; }

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

nav .indent { padding-left: 35px; }

@media only screen and (max-width: 991px) and (min-width: 768px) {
  nav { font-size: 15px; }
}

@media only screen and (min-width: 768px) {
    header .col-xs-12:last-of-type { text-align: right; }
    nav { display: inline-block; vertical-align: middle; }
    #navbar.collapse { display: block; visibility: visible; }
}

@media only screen and (max-width: 767px) {
    header .row nav { display: block; text-align: left; }
    #navbar { background: #fff; position: absolute; top: 100%; left: 0; right: 0; z-index: 1; }
}

/* NAVIGATION MOBILE MENU TOGGLE
================================ */
.navbar-toggle.collapsed { background: #fff; }
.navbar-toggle { background: #ccc; }
.navbar-toggle .icon-bar { background: #252525; }

/* NAVIGATION FIRST LEVEL
================================ */
.menu-item { position: relative; }

.menu-item a { padding: 15px; color: #235781; }
nav .menu-item a:focus { background: none; color: #235781; }

nav .menu-item.open > a,
nav .menu-item a:hover { background: transparent; color: #235781; }

nav .menu-item.active a,
nav .menu-item.active a:hover,
nav .menu-item.active a:focus { background: transparent; color: #235781; }

@media only screen and (min-width: 768px) {
    .menu-item { float: left; }
    /*nav .menu > .menu-item:last-of-type a { padding-right: 0; }*/
    nav .menu > .menu-item.open > a:after,
    nav .menu > .menu-item > a:hover:after,
    nav .menu > .menu-item.active > a:hover:after { content: ''; height: 3px; background: #235781; margin: auto; position: absolute; left: 0; right: 0; bottom: 0; width: 80%; }
}

/* NAVIGATION SECOND LEVEL
================================ */

.dropdown-menu { margin-top: 0; border-radius: 0; border: none; padding: 0; background: #fff; }
.dropdown-menu > li { width: 100%; }
.dropdown-menu > li > a { padding: 15px; color: #235781; }
.dropdown-menu > li > a:hover { background: #fff; color: #252525; }

.dropdown-menu>.active>a,
.dropdown-menu>.active>a:hover,
.dropdown-menu>.active>a:focus { background: #fff; color: #252525; }

@media only screen and (max-width: 991px) and (min-width: 768px) {
  .dropdown-menu { font-size: 15px; }
}

@media only screen and (max-width: 767px) {
    nav .caret,
    nav .dropdown-menu { display: none !important; }
    .dropdown-menu { position: relative; background: none; width: 100%; float: none; box-shadow: none; margin-top: 0; }
    .dropdown-menu > li > a { color: #fff; }
    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a:focus { background: #fff; color: #252525; }
}

/* SLIDER
================================ */

.slider-wrap {  }

.slider.slick-slider { margin-bottom: 0; }
.slick-slider img { width: 100%; }

.slick-slider .slick-prev { left: 0; }
.slick-slider .slick-next { right: 0; }

#herobg { display: inline-block; padding: 0; margin: 0; width: 100%; padding-top: 56.25%; height: 0; position: relative; }
#herobg iframe { position: absolute; top: 0; left: 0; bottom: 0; right: 0; pointer-events: none; width: 100%; height: 100%; }


/* JUMBO-HEADER
================================ */

.jumbo-header { padding: 30px 0; background: url(images/jumbobg.jpg) center center no-repeat; background-size: cover; position: relative; }
.jumbo-header:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.5); transition: background 0.25s; }
.jumbo-header .col-xs-12 { position: relative; z-index: 100; }
.jumbo-header p { text-align: left; }
.jumbo-header p:first-of-type { margin-bottom: 20px; }
.jumbo-header p:first-of-type a { border-bottom: 2px solid #061087; }
.jumbo-header a { font-family: 'Hind'; font-size: 26px; color: #061087; font-weight: 700; }
.jumbo-header a.button { display: inline-block; padding: 10px 25px; border: 2px solid #061087; border-radius: 3px; background: #fff; color: #061087; font-size: 16px; }

.jumbo-header:hover:after { background: rgba(255, 255, 255, 0.7); }
.jumbo-header:hover a.button { animation: shake 0.25s forwards; }

@media only screen and (min-width: 768px) {
  .jumbo-header .col-xs-12:last-of-type { text-align: right; }
}

@media only screen and (min-width: 767px) {
  .jumbo-header { text-align: center; }
}

@keyframes shake {
  0% { transform: translateX(0%); transform: translate3d(0%, 0, 0); }
  25% { transform: translateX(-5%); transform: translate3d(-5%, 0, 0); }
  75% { transform: translateX(5%); transform: translate3d(5%, 0, 0); }
  100% { transform: translateX(0%); transform: translate3d(0%, 0, 0); }
}

@-webkit-keyframes shake {
  0% { -webkit-transform: translateX(0%); -webkit-transform: translate3d(0%, 0, 0); }
  25% { -webkit-transform: translateX(-5%); -webkit-transform: translate3d(-5%, 0, 0); }
  75% { -webkit-transform: translateX(5%); -webkit-transform: translate3d(5%, 0, 0); }
  100% { -webkit-transform: translateX(0%); -webkit-transform: translate3d(0%, 0, 0); }
}

@-moz-keyframes shake {
  0% { -moz-transform: translateX(0%); -moz-transform: translate3d(0%, 0, 0); }
  25% { -moz-transform: translateX(-5%); -moz-transform: translate3d(-5%, 0, 0); }
  75% { -moz-transform: translateX(5%); -moz-transform: translate3d(5%, 0, 0); }
  100% { -moz-transform: translateX(0%); -moz-transform: translate3d(0%, 0, 0); }
}

/* HOMEBOXES
================================ */

.homeboxes { padding: 15px; background: url(images/homebox/bg.jpg) center center no-repeat; background-size: cover; }
.homeboxes .col-xs-12 { padding: 15px; }

.homebox { border: 2px solid #002060; overflow: hidden; position: relative; transform: translateZ(0); -webkit-transform: translateZ(0); }
.homebox img { width: 100%; display: block; }
.homebox .overlay { position: absolute; top: 100%; left: 0; width: 100%; height: 100%; background: rgba(51, 187, 223, 0.8); transition: transform 0.25s; -webkit-transition: -webkit-transform 0.25s; }
.homebox:hover .overlay { transform: translateY(-100%); -webkit-transform: translateY(-100%); transform: translate3d(0, -100%, 0); -webkit-transform: translate3d(0, -100%, 0); }
.homebox .text-wrap { font-family: 'Open Sans', sans-serif; text-align: center; position: relative; top: 0; transform: translateY(0); -webkit-transform: translateY(0); transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0); transition: transform 0.25s, top 0.25s; -webkit-transition: -webkit-transform 0.25s, top 0.25s; font-family: 'Hind'; }
.homebox:hover .text-wrap { top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translate3d(0, -50%, 0); -webkit-transform: translate3d(0, -50%, 0); }

.homebox h3 { color: #fff; font-size: 28px; font-weight: 400; padding: 10px 0; transition: padding 0.25s, background 0.25s, transform 0.25s; -webkit-transition: padding 0.25s, background 0.25s, -webkit-transform 0.25s; }

.homebox p { font-size: 20px; color: #fff; line-height: 1.5em; text-align: center; padding: 0 10px; }

@media only screen and (max-width: 1199px) and (min-width: 992px) {
  .homebox h3 { font-size: 16px; margin-top: 5px; }
}

@media only screen and (min-width: 768px) {
  .homebox:not(:hover) h3 { background: rgba(51, 187, 223, 0.8); transform: translateY(-100%); -webkit-transform: translateY(-100%); -moz-transform: translateY(-100%); transform: translate3d(0, -100%, 0); -webkit-transform: translate3d(0, -100%, 0); -moz-transform: translate3d(0, -100%, 0); }
}

@media only screen and (max-width: 767px) {
  .homebox h3 { padding-bottom: 0; }
  .homebox .overlay { transform: translateY(-100%); -webkit-transform: translateY(-100%); transform: translate3d(0, -100%, 0); -webkit-transform: translate3d(0, -100%, 0); }
  .homebox .text-wrap { top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translate3d(0, -50%, 0); -webkit-transform: translate3d(0, -50%, 0); position: absolute; }
}

/* CIRCLEBOXES
================================ */

.circleboxes { padding: 15px 0; text-align: center; font-family: 'Hind'; }
.circleboxes h2 { font-size: 50px; color: #235781; margin: 30px 0; font-family: 'Nirmala UI', 'Palatino Linotype', 'Book Antigua', Palatino, serif; }
.circleboxes .col-xs-12 { padding: 15px; }

.circleboxes img { margin: auto; }
.circlebox { overflow: hidden; border-radius: 50%; position: relative; transform: translateZ(0); -webkit-transform: translateZ(0); -moz-transform: translateZ(0); display: inline-block; -webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC); }
.circlebox .overlay { position: absolute; top: 0; left: 0; height: 100%; width: 100%; background: rgba(0, 175, 239, 0.8); transition: background 0.25s; }
.circlebox .text-wrap { position: absolute; top: 50%; left: 0; right: 0; margin: auto; transform: translateY(-50%); -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); color: #fff; }
.circlebox .text-wrap p { transition: opacity 0.25s; }

.circlebox h3 { font-weight: 700; font-size: 25px; color: #fff; }
.circlebox p { font-size: 18px; line-height: 34px; color: #fff; padding: 0 25px; }

.circlebox:hover .overlay { background: rgba(0, 175, 239, 0.8); }
.circlebox:hover .text-wrap h3 { box-shadow: 0 0 75px 60px rgba(0, 0, 0, 0.0); background: rgba(0, 0, 0, 0); }
.circlebox:hover .text-wrap p { box-shadow: 0 0 75px 60px rgba(0, 0, 0, 0.0); background: rgba(0, 0, 0, 0); }

@media only screen and (min-width: 992px) {
  .circlebox .overlay { background: rgba(0, 175, 239, 0.0); }
  .circlebox .text-wrap p { box-shadow: 0 0 75px 60px rgba(0, 0, 0, 0.3); background: rgba(0, 0, 0, 0.3); }
  .circlebox .text-wrap h3 { display: inline-block; background: rgba(0, 0, 0, 0.3); box-shadow: 0 0 75px 60px rgba(0, 0, 0, 0.3); padding-top: 1px; transition: background 0.25s, box-shadow 0.25s; }
}

@media only screen and (max-width: 991px) {
  .circlebox p { display: none; }
  .circleboxes h2 { font-size: 30px; }
}

/* JUMBO
================================ */

.jumbo { font-family: 'Nirmala UI', 'Palatino Linotype', 'Book Antigua', Palatino, serif; }
.jumbo { background: #efefef; position: relative; z-index: 1; box-shadow: 0 5px 10px -5px #000; padding: 25px 0; text-align: center; }
.jumbo img { padding: 15px; display: block; margin: auto; }
.jumbo h2 { font-size: 50px; color: #235781; margin: 15px 0; }
.jumbo h3 { font-size: 30px; color: #235781; margin: 15px 0; }

@media only screen and (max-width: 991px) {
  .jumbo h2 { font-size: 20px; }
  .jumbo h3 { font-size: 16px; }
}

/* ASSOC
================================ */

.assoc { font-size: 0; padding: 30px 0; }
.assoc .assoc-carousel.slick-slider { margin-bottom: 0; }
.assoc span { display: inline-block; vertical-align: middle; width: 33%; }
.assoc img { padding: 15px; display: block; margin: auto; }

.assoc .slick-prev:before,
.assoc .slick-next:before { color: #000; }

.assoc .slick-prev { left: 0; }
.assoc .slick-next { right: 0; }

/* CONTENT
================================ */

.circle-mask { overflow: hidden; border-radius: 50%; transform: translateZ(0); -webkit-transform: translateZ(0); -moz-transform: translateZ(0); display: inline-block; }

body.error404 .content,
body.search .content { padding-bottom: 25px; }

.content { font-size: 20px; color: #292929; line-height: 25px; overflow: hidden; font-family: 'Nirmala UI', 'Palatino Linotype', "Book Antiqua", Palatino, serif; font-weight: 500; }

.content h1 { font-size: 50px; color: #235781; font-weight: 900; font-family: 'Yu Gothic Light', 'Ascender Serif', 'Liberation Serif', 'Renault', 'Times New Roman', serif; padding: 10px; margin: 25px 10px; border-top: 2px solid #235781; border-bottom: 2px solid #235781; text-align: center; }
.content h2 { color: #235781; font-weight: 500; margin: 10px 0; font-size: 38px;}
.content h3 { color: #235781; font-weight: 500; margin: 10px 0; font-size: 26px;}
.content p { padding: 10px 0; }
.content a { color: #235781; font-style: italic, text-decoration: underline; }
.content p a:hover { cursor: pointer; }

.inner-content .left { float: left; margin: 10px 15px 15px 0; }
.inner-content .right { float: right; margin: 10px 0 15px 15px; }
.inner-content .border { border: 1px solid #c2c2c2; }

@media only screen and (max-width: 767px) { 
    .inner-content img:not(.wpcf7-captchac):not(.keep):not(.ajax-loader) { display: none; }
    /* OVERRIDE FOR IMAGES THAT MAY BE INJECTED DYNAMICALLY BY PLUGINS
    ================================================================== */
    .ngg-gallery-thumbnail img { display: block !important; }
}

/* SIDEBAR
================================ */
/*  hack to make sidebar full height of content area: */
/* padding: 15px 0 10030px; margin-bottom: -9999px; */
.sidebar { position: relative; padding: 15px; text-align: center; line-height: 1; }
.sidebar .col-xs-12 { padding: 15px; }

.sidebar h2 { margin: 0 0 30px; }

.sidebar .boxy { border: 1px solid #bcbcbc; padding: 15px; }

.content ul { list-style: none; text-align: left; font-size: 20px; font-weight: 400; color: #292929; line-height: 1.2; padding: 10px; }
.content li { padding: 5px 10px; position: relative; }

.content ul.bullet {  }
.content ul.bullet li:before { content: '\2022'; position: absolute; top: 6px; left: 0; font-size: 20px; line-height: 1.2; }
.content ul.bullet li { padding-left: 20px; }


.content ul.border { border: 1px solid #bcbcbc; }
.content ul.border li:not(:last-of-type) { border-bottom: 1px solid #bcbcbc; }

.content ul.border.bullet li:before { left: 10px; }
.content ul.border.bullet li { padding-left: 30px; }

.content ul.bullet2 { padding: 0px; }
.content ul.bullet2 li:before { font-family: serif; content: '\2023'; position: absolute; top: 6px; left: 60px; font-size: 20px; }
.content ul.bullet2 li { padding-left: 90px; }


.content ul.border2 { border: 1px solid #bcbcbc; }
.content ul.border2 li:not(:last-of-type) { border-bottom: 1px solid #bcbcbc; }

.content ul.border.bullet2 li:before { left: 10px; }
.content ul.border.bullet2 li { padding-left: 30px; }

.sidebar .gmap { border: 1px solid #bcbcbc; }
.sidebar .gmap iframe {  width: 100%;  height: auto; display: block; }

/* locations */

.locations { font-family: 'Open Sans', sans-serif; border-top: 1px solid #636363; padding: 20px 0; }
.locations h6 { color: #000066; font-weight: 600; font-size: 18px; }
.locations p { color: #414141; font-weight: 400; font-size: 15px; }

/* blog */

.post-item { margin-bottom: 15px; padding-bottom: 30px; border-bottom: 1px dashed #ECE; }
.post-item .post-item-header { overflow: auto; border-bottom: 1px solid #e3e3e3; padding-bottom: 15px; }
.post-item .post-item-header h2 { font-size: 18px; color: #a4a4a4; margin-top: 15px; }
.post-item .post-content { margin: 10px 0; }
.post-item img.post-item-thumb { float: left; border: 3px solid #ccc; outline: 1px solid #ddd; margin: 12px 22px 10px 0; width: 250px; max-height: 250px; }

@media only screen and (max-width: 767px) { 
    .post-item img.post-item-thumb { float: none; display: block; width: 100%; max-height: initial; }
}

.sidebar-blog { text-align: left; }
.sidebar-blog ul { list-style: none; border: 1px solid #dddddd; border-radius: 5px; overflow: hidden; margin: 25px 0; }
.sidebar-blog ul li { padding: 8px 14px; border-bottom: 1px solid #dddddd; background-color: #fff; font-size: 13px; color: #003471; font-weight: 400; }
.sidebar-blog ul li a { color: #003471;  }
.sidebar-blog ul li:last-child { border-bottom: none; }
.sidebar-blog ul li:hover { background-color: #e8e8e8; }

@media only screen and (max-width: 991px) { 
    .sidebar-blog ul li { padding: 16px 14px; }
}

.sidebar-blog .searchform { margin: 25px 0; }
.sidebar-blog .searchform input[type="text"] { border: 1px solid #ccc; border-radius: 4px; width: 68%; padding: 4px; }
.sidebar-blog .searchform input[type="submit"] { border: 1px solid #598527; color: #fff; background-color: #7db627; border-radius: 4px; width: 30%; padding: 4px; }

.sidebar-blog .social { padding: 0; background-color: #003471; border: 1px solid #6d7b8b; color: #fff; font-size: 16px; font-weight: 600; font-family: 'Open Sans', sans-serif;  }
.sidebar-blog .social span { display: inline-block; margin: 12px 0 0 10px; }
.sidebar-blog .social .icons { float: right; margin: 0 8px; height: 44px; }
.sidebar-blog .social .icons img { display: inline-block; margin: 8px 0; }

.sidebar-blog ul.meta { border: none; border-radius: 0; }
.sidebar-blog ul.meta li { width: 48%; float: left; border: 1px solid #cccccc; color: #fff; text-align: center; background-color: #7db627; border-radius: 4px; }
.sidebar-blog ul.meta li:nth-child(odd) { float: left; }
.sidebar-blog ul.meta li:nth-child(even) { float: right; }
.sidebar-blog ul.meta li a { color: #fff; }

a.read-more { padding: 10px; float: right; text-align: center; color: #fff; border: 1px solid #00a651; background-color: #7db627; font-size: 13px; font-weight: 700; margin-top: -5px; }

.pagination {  margin: 10px 0;  }
.pagination .page-numbers { border: 1px solid #dddddd; background-color: #fff; display: inline-block; padding: 5px 10px; float: left; font-size: 12px; font-weight: 400; color: #000; }
.pagination .page-numbers:first-child { border-top-left-radius: 4px; border-bottom-left-radius: 4px; }
.pagination .page-numbers:last-child { border-top-right-radius: 4px; border-bottom-right-radius: 4px; }
.pagination a.page-numbers { color: #2a6496; }
.pagination a.page-numbers:hover { background-color: #ebebeb; color: #2a6496; }

.hard-button { border: 1px solid #598527; border-radius: 4px; background-color: #7db627; color: #fff; font-size: 16px; font-weight: 700; margin: 20px 0; overflow: hidden; height: 47px; line-height: 16px; }
.hard-button .body { float: left; width: 80%; }
.hard-button .title { font-style: italic; font-weight: 600; padding: 3px 10px; display: block; border-bottom: 1px solid #6fa327; }
.hard-button .sub { padding: 3px 10px; display: block; }
.hard-button .fa { float: right; width: 20%; background-color: #598527; text-align: center; font-size: 38px; padding: 5px; box-sizing: border-box; height: 100%; }
.hard-button .fa.fa-comment-o { padding-top: 2px; }

/* portfolio */

#portfolio p { padding: 0; margin: 0; }

#portfolio .nav.nav-tabs { font-size: 14px; color: #111d72; }
#portfolio .nav-tabs>li a { background-color: #f1f1f1; border: 1px solid #c2c2c2; border-top-left-radius: 5px; border-top-right-radius: 5px; }
#portfolio .nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus { color: #111d72; background-color: #fff; border-bottom: 1px solid #fff; }

#portfolio .tab-content { border: 1px solid #ccc; border-top: none; overflow: hidden; } 

#portfolio .ngg-gallery-thumbnail-box { width: 25%; margin: 0 !important;}
#portfolio .ngg-gallery-thumbnail { width: 90%; margin: 4%; }
#portfolio .ngg-gallery-thumbnail img { width: 100%; height: auto; }

@media only screen and (max-width: 767px) { 
    #portfolio .nav-tabs>li { float: none; display: block; background: none; border: none; }
    #portfolio .nav-tabs>li a { border-radius: 5px; display: block; margin: 5px 0; border: 1px solid #c2c2c2 !important; background-color: #fff; }
    
    #portfolio .nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus { background-color: #ddd; }
    
    #portfolio .ngg-gallery-thumbnail-box  { width: 50%; }
}

/* PANEL FORM
================================ */
.panel_form {
  font-size: 15px;
  color: #414141;
  line-height: 30px;
  background: #fff;
  padding: 15px 0;
}
@media only screen and (min-width: 768px) {
  .panel_form {
    padding: 30px 0;
  }
}
.panel_form i {
  color: #c4161c;
}
.panel_form h1,
.panel_form h2,
.panel_form h3 {
  color: #252525;
  font-weight: 700;
  margin: 3px 0;
}
.panel_form h1 {
  font-size: 34px;
  margin: 15px 0 5px;
}
@media only screen and (max-width: 767px) {
  .panel_form h1 {
    margin-top: 10px;
  }
}
.panel_form h2 {
  font-size: 28px;
}
.panel_form h3 {
  font-size: 22px;
}
.panel_form p {
  padding: 10px 0;
}
.panel_form a {
  color: #c4161c;
}
.panel_form ul {
  margin-bottom: 15px;
}
.panel_form li > i {
  font-size: 1.5rem;
  float: left;
  margin-right: 15px;
}
.panel_form li > span {
  display: block;
  overflow: auto;
}
.panel_form li > span h3 {
  margin: 5px 0 0 0;
  line-height: 1rem;
}
.panel-form-header {
  text-align: center;
  padding: 0 15px;
}
@media only screen and (min-width: 768px) {
  .panel-form-header {
    padding-top: 15px;
  }
}
.panel-form-header h2 {
  text-transform: uppercase;
}
.panel-form-header span > * {
  display: inline-block;
  vertical-align: middle;
}
.panel-form-header span i {
  font-size: 1.5rem;
  margin-right: 15px;
  color: #c4161c;
}
@media only screen and (max-width: 1199px) {
  .panel-form-header span i {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }
}
/* PANEL FORM WPCF7
================================ */
.wpcf7-panel-form {
  color: #252525;
  padding-bottom: 15px;
  text-align: center;
  padding: 15px 7.5px 0;
  background: #f6f6f6;
}
.wpcf7-panel-form .col-xs-12 {
  padding: 0 7.5px;
}
.wpcf7-panel-form input,
.wpcf7-panel-form textarea {
  padding: 18px 10px;
  width: 100%;
  border: 1px solid #ccc;
  display: block;
  line-height: 1rem;
  -webkit-transition: border-color 0.5s;
  -moz-transition: border-color 0.5s;
  -o-transition: border-color 0.5s;
  -ms-transition: border-color 0.5s;
  transition: border-color 0.5s;
  outline: none;
}
.wpcf7-panel-form input:focus,
.wpcf7-panel-form textarea:focus {
  border-color: #c4161c;
}
.wpcf7-panel-form span.wpcf7-form-control-wrap {
  margin-bottom: 15px;
  display: block;
}
.wpcf7-panel-form .captcha-wrapper {
  padding: 13px 10px;
  background: #021087;
  margin-bottom: 15px;
  overflow: hidden;
  height: 58px;
}
@media only screen and (min-width: 992px) {
  .wpcf7-panel-form .captcha-wrapper {
    width: 50%;
    float: left;
    margin-right: 15px;
  }
}
.wpcf7-panel-form .captcha-wrapper > img {
  max-width: 100%;
  margin: auto;
  display: block;
}
.wpcf7-panel-form .contact-captcha > span {
  overflow: auto;
}
.wpcf7-panel-form .contact-captcha > span > input {
  width: 100%;
}
.wpcf7-panel-form img.ajax-loader {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: auto !important;
}
.wpcf7-panel-form .submit-block {
  padding: 30px 15px;
  background: #fff;
  width: 100%;
}
.wpcf7-panel-form .submit-wrapper {
  display: inline-block;
  background: #c4161c;
  position: relative;
  -webkit-transition: background 0.25s;
  -moz-transition: background 0.25s;
  -o-transition: background 0.25s;
  -ms-transition: background 0.25s;
  transition: background 0.25s;
  -webkit-box-shadow: 0px 2px 2px #000;
  box-shadow: 0px 2px 2px #000;
}
.wpcf7-panel-form .submit-wrapper:hover {
  background: #a51009;
  cursor: pointer;
}
.wpcf7-panel-form .submit-wrapper:hover label {
  margin-left: 10px;
  cursor: pointer;
}
.wpcf7-panel-form .submit-wrapper label {
  font-size: 16px;
  padding: 0 20px 0 10px;
  display: inline-block;
  vertical-align: middle;
  -webkit-transition: margin-left 0.25s;
  -moz-transition: margin-left 0.25s;
  -o-transition: margin-left 0.25s;
  -ms-transition: margin-left 0.25s;
  transition: margin-left 0.25s;
}
.wpcf7-panel-form .submit-wrapper label i {
  color: #fff;
}
.wpcf7-panel-form .submit-wrapper input {
  width: auto;
  background: transparent;
  padding: 15px 0 15px 20px;
  color: #fff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}
.wpcf7-panel-form ::-webkit-input-placeholder,
.wpcf7-panel-form :-moz-placeholder,
.wpcf7-panel-form ::-moz-placeholder,
.wpcf7-panel-form :-ms-input-placeholder {
  color: #999;
}


/* FOOTER
================================ */

footer { background: url(images/footer.jpg) top left repeat; font-family: 'Montserrat'; color: #fff; font-size: 13px; line-height: 20px; }

footer a { color: #fff; text-decoration: none; display: block; }

/* !!!! BACKGROUND & COLOR !!!! */
footer .menu-item > a,
footer .menu-item.open > a,
footer .menu-item a:hover { background: none; color: #fff; }

/* !!!! BACKGROUND & COLOR !!!! */
footer .menu-item.active a,
footer .menu-item.active a:hover,
footer .menu-item.active a:focus { background: none; color: #fff; }

footer .design { padding: 15px 0; }
footer .design a { text-decoration: underline; display: inline-block; color: #fff; }

@media only screen and (max-width: 1199px) { 
    .footer .design { padding:  0 0 20px; }
}

@media only screen and (max-width: 767px) { 
    .footer .design { padding:  10px 0 15px; }
    footer .menu-item a { padding: 10px 15px 0 0; }
    .footer .nav>li>a { padding: 5px 15px; }
    .footer .nav>li:not(:last-of-type):after { content: none; }
}

@media only screen and (min-width: 1200px) { 
    footer { padding: 15px 0; }
    footer .design { text-align: right; }
}

@media only screen and (min-width: 768px) {
    footer .menu-item a { padding-left: 0; }
}

/* STICKY FOOTER
================================ */

.sticky-footer { position: fixed; z-index: 9000; bottom: 0; left: 0; right: 0; margin: auto; background: rgba(0, 0, 0, 0.8); color: #fff; font-size: 16px; padding: 5px 0; }

.sticky-footer a { color: #fff; text-decoration: none; display: inline-block; }

.sticky-footer a.button { padding: 10px 30px; border-radius: 3px; background: #32D137; color: #fff; }

.sticky-footer .col-md-4 { font-size: 16px;  }


#scrollPage:hover { cursor: pointer; }
#scrollPage > * { display: inline-block; vertical-align: middle; }
#scrollPage > span { margin-right: 10px; }
#scrollPage i { font-size: 26px; }


@media only screen and (min-width: 992px) {
  .sticky-footer a:not(.button):first-of-type { margin-right: 10px; }
}

@media only screen and (max-width: 991px) { 
  .sticky-footer a:not(.button) { margin: 5px; }
  .sticky-footer a.button { margin: 10px 0; }
}

@media only screen and (min-width: 768px) {
  .sticky-footer .col-xs-12:last-of-type { text-align: right; }
  .sticky-footer .col-xs-12:nth-child(2) { text-align: center; }
}

@media only screen and (max-width: 767px) { 
  .sticky-footer { text-align: center; }
  .sticky-footer a.button { padding: 10px; }
}

/* WPCF7
================================ */

/* BIG FORM
================================ */

.wpcf7-standard-form { color: #000; position: relative; font-size: 12px; }
.wpcf7-standard-form textarea { height: 146px; }

.wpcf7-standard-form.contact img { height: 42px; }

.wpcf7-form-control-wrap ~ .wpcf7-form-control-wrap { margin-top: 10px ;}

@media only screen and (max-width: 767px) {
    .contact-message { margin-top: 10px; }
}

.wpcf7-standard-form .wpcf7-submit { padding: 5px 35px; }

/* wpcf7 standard form :: START */

.wpcf7-standard-form.small img { height: 40px; }

.wpcf7-standard-form span.wpcf7-not-valid-tip { clear: both; }
.wpcf7-standard-form span.wpcf7-form-control-wrap { width: 100%; display: block; }
.wpcf7-standard-form div.wpcf7-validation-errors { background-color: #fff; }
.wpcf7-standard-form p { margin: 0; padding: 0; }

.wpcf7-standard-form input,
.wpcf7-standard-form select,
.wpcf7-standard-form textarea { width: 100%; border: 1px solid #cccccc; padding: 5px 10px; background-color: #fff; box-sizing: border-box; border-radius: 0; color: #000;}

.wpcf7-standard-form.short input,
.wpcf7-standard-form.short select,
.wpcf7-standard-form.short textarea { padding: 7px; }


.wpcf7-standard-form input:focus,
.wpcf7-standard-form select:focus,
.wpcf7-standard-form textarea:focus { outline: 1px solid #125a71; } 

.wpcf7-standard-form img.wpcf7-captchac { display: block; float: right; width: 32%; border: 1px solid #cccccc; clear: right; z-index: 2; }
.wpcf7-standard-form input.wpcf7-captchar { width: 67%; float: left; }
.wpcf7-standard-form.short input.wpcf7-captchar { float: left; }
.wpcf7-standard-form.short img.wpcf7-captchac { height: 33px; margin: 10px 0 8px; }

.wpcf7-standard-form.long img.wpcf7-captchac { height: 40px; }
.wpcf7-standard-form.long input.wpcf7-captchar {  }
.wpcf7-standard-form.long .wpcf7-form-control-wrap.captcha-1 { clear: left; }

.wpcf7-standard-form input.wpcf7-submit { float: right; clear: both; text-transform: uppercase; background-color: #252525; color: #fff; font-size: 12px; font-weight: 400; width: auto; padding: 10px 15px; }

@media only screen and (max-width: 767px) {
    .wpcf7-standard-form .wpcf7-submit { margin-top: 10px; }
}

.wpcf7-standard-form.long .wpcf7-form-control-wrap { display: block !important; }
.wpcf7-standard-form.long span.your-message { float: right; }

/* wpcf7 standard form :: END */

/* CONTACT PAGE
================================ */
.content .contact-h1 { font-weight: 400; }

.contact-widget { border-top: 7px solid #061087; border-bottom: 7px solid #061087; }
.contact-widget .container-fluid { padding: 0; text-align: center; }
.contact-widget .col-xs-12:first-of-type { padding: 15px; }

.map-wrapper { height: 350px; }
.map-wrapper iframe { width: 100%; height: 100%; }

.contact-widget { font-size: 15px; color: #494949; line-height: 28px; overflow: hidden; }
.contact-widget h1,
.contact-widget h2,
.contact-widget h3 { color: #000; font-weight: 700; margin: 10px 0; font-family: 'Oswald', sans-serif; }

.contact-widget h1 {  font-size: 30px; }
.contact-widget h2 { font-size: 26px; font-family: 'Open Sans'; font-weight: 400; }
.contact-widget h3 { font-size: 22px; font-family: 'Open Sans'; font-weight: 400; }

@media only screen and (max-width: 767px) {
  .map-wrapper { border-top: 4px solid #061087; }
}

/* WPCF7
================================ */

.wpcf7-contact-page { color: #252525; padding-bottom: 15px; width: 100%; }
.wpcf7-contact-page input,
.wpcf7-contact-page textarea { padding: 15px; width: 100%; border: 1px solid #ccc; border-radius: 5px; display: block; transition: border-color 0.5s; -webkit-transition: border-color 0.5s; }
.wpcf7-contact-page input:focus,
.wpcf7-contact-page textarea:focus { border-color: #061087; }
.wpcf7-contact-page span.wpcf7-form-control-wrap { margin-bottom: 15px; display: block; }
.wpcf7-contact-page .contact-captcha > span { overflow: auto; }
.wpcf7-contact-page .contact-captcha > span > input { width: 100%; }

.wpcf7-contact-page .captcha-wrapper {
  padding: 13px 10px;
  background: #021087;
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  height: 58px;
}
@media only screen and (min-width: 992px) {
  .wpcf7-contact-page .captcha-wrapper {
    width: 50%;
    float: left;
    margin-right: 15px;
  }
}
.wpcf7-contact-page .captcha-wrapper > img {
  max-width: 100%;
  margin: auto;
  display: block;
}

.wpcf7-contact-page img.ajax-loader { display: inline-block; }
.wpcf7-contact-page .submit-wrapper { text-align: center; }
.wpcf7-contact-page .submit-wrapper input { width: auto; display: inline-block; background: #061087; padding: 10px 30px; color: #fff; border: none; transition: background 0.25s; }
.wpcf7-contact-page .submit-wrapper input:hover { background: #030844; }

::-webkit-input-placeholder { color: #999999; }
:-moz-placeholder { color: #999999; }
::-moz-placeholder { color: #999999; }
:-ms-input-placeholder { color: #999999; }


/* CONTACT PAGE
================================ */

.contact-location { color: #fff; font-weight: 600; line-height: 1.2; background-color: #252525; padding: 30px 15px; }

.contact-location p { padding: 0; }
.contact-location p:first-of-type { font-weight: 700; font-size: 22px; font-family: 'Open Sans Condensed'; margin-bottom: 5px;}

/* contact page :: START */

.contact-social { text-align: left; }
.contact-social h2 { margin: 25px 0; font-family: 'Open Sans Condensed'; }
.contact-social a { display: inline-block; vertical-align: top; margin-right: 8px; }
.contact-social img { display: block; }

.contact-map-large { height: 260px; border: 7px solid #252525; margin: 20px 0; }
.contact-map-large iframe { display: block; width: 100%; height: 100%; }

/* contact page :: END */

/* content list */
ul.contentList { list-style-type: none; margin: 0; padding: 0; }
ul.contentList li { margin: 3px 0 3px 12px; padding: 0 0 0 15px; background: url(images/bullet.png) top 12px left no-repeat; }

/* horizontal line */
hr { display: block; height: 1px; border: 0; border-top: 1px solid #d6d6d6; margin: 1.5em auto; padding: 0 }

/* blockquote */
blockquote { border-left: 16px solid #f0f0f0; margin: 50px 0; padding: .9em 1em; quotes: "\201C""\201D"; line-height: 2; font-family: 'Open Sans', sans-serif; font-style: italic; }
blockquote:before { color: #f1f1f1; content: open-quote; font-size: 100px; line-height: 40px; margin-right: .25em; vertical-align: -.4em; float: left; margin-bottom: -35px; }
blockquote:first-child { display: inline; }
blockquote:last-child { margin-bottom: 0; }
blockquote p { padding: 0 !important; margin-top: -13px; font-size: 15px; color: #494949; font-style: italic; line-height: 28px; }
blockquote p:after { color: #d8d8d8; content: open-quote; font-size: 35px; line-height: 28px; vertical-align: -.2em; }
blockquote .person { text-align: left; font-weight: bold; color: #494949; font-weight: 600; padding-top: 10px; font-size: 15px; font-style: italic; }

/* image float */
img.img-left { float: left; margin: 10px 20px 10px 0px; }
img.img-right { float: right; margin: 10px 0px 10px 20px; }

video { display: block; }

video#bgvid {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url(images/vid/Huppa.jpg) no-repeat;
    background-size: cover; 
}

@media only screen and (max-width: 767px) {
    .banner {
         background: url(images/vid/Huppa.jpg) #000 no-repeat center center fixed;
    }
    #bgvid {
        display: none;
    }
}

/* coordinator classes */

.photos { float: right; margin: 0px 0px 15px 20px; }
.photos-left { float: left; margin: 0px 20px 15px 0px; }
.blue { color: #235781; }
.green { color: #04B431; }
.red { color: #FF0000; }
.italic { font-style: italic; }
.underline { font-style: underline; }
.cta-button { color: white !important; font-weight: 400; font-size: 24px; border-radius: 9px; background-color: #04B431; border: 1px solid #000; padding: 10px 15px; }
.center { text-align: center; margin: 20px 10px; }
.center-logos { text-align: center; }
.center-logos img { max-width: 50%; marin: auto; }
.business-box { border: 1px solid black; margin: 10px; }
.business-box-header { background-color: #1f4e79; padding: 5px; text-align: center; display: block; }
.business-box-header h3 { color: white; }
.business-box-content { padding: 10px 30px; } 
.business-box-content p { margin: 6px 0px; padding: 0px; font-size: 20px; }
.box { border: 1px solid black; margin: 10px padding: 15px; }
.logos { margin: 0px auto; }
.small-info { font-size: 14px; }
table.implementation { border: 1px solid black; padding: 10px; color: #235781; }
.implementation th, td { border: 1px solid black; padding: 10px; }
.contact-background { border: 1px solid #A1A1A1; margin: 10px; padding: 25px 70px; background: #F2F2F2; }
.table-style { border: 1px solid black; padding: 7px; margin: 10px; }
.table-style td { border: 1px solid black; padding: 7px; }
div.centered { text-align: center; }
div.centered table { margin: 0 auto; text-align: left; }
#here { padding: 10px; margin: 25px 10px; border-top: 2px solid #235781; border-bottom: 2px solid #235781; text-align: center; }
.ready-to-run { border: 1px solid gray; margin: 15px; min-height: 390px; }
.efficiency { background-color: #D9E8F6; border: 1px solid gray; padding: 20px; margin: 10px 0px; }
.gains { font-size: 24px; color: #235781; }
.big p,
     td { font-size: 24px; }

@media only screen and (min-width: 1200px) {

  .efficiency { min-height: 580px; }

}


@media only screen and (min-width: 1200px) {
  .business-box { min-height: 530px; }
}

.wpcf7-about-form .va-parent > * { font-size: 18px; }

.wpcf7-about-form input:not([type=checkbox]):not(.wpcf7-captchar) { display: block; width: 100%; }

.wpcf7-about-form textarea { width: 100%; height: 70px; }

.wpcf7-about-form .contact-captcha > span { overflow: auto; display: block; }
.wpcf7-about-form .contact-captcha > span > input { width: 100%; padding: 13px 12px; }

.wpcf7-about-form .captcha-wrapper {
  padding: 13px 10px;
  background: #021087;
  margin-bottom: 15px;
  overflow: hidden;
  height: 58px;
}
@media only screen and (min-width: 992px) {
  .wpcf7-about-form .captcha-wrapper {
    width: 50%;
    float: left;
    margin-right: 15px;
  }
}
.wpcf7-about-form .captcha-wrapper > img {
  max-width: 100%;
  margin: auto;
  display: block;
}

.wpcf7-about-form input[type=submit] { padding: 15px; }

@media only screen and (max-width: 991px) {
  .wpcf7-about-form input[type=submit] { margin-top: 15px; }
}

@media only screen and (max-width: 767px) {
  .wpcf7-checkbox { margin-top: 10px; display: block; }
}

#mobile-solutions-table td { padding: 5px; }