/* Reset
------------------------------------ */
HTML { font-size: 100.01% }
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, DL, DT, DD, OL, UL, LI, FIELDSET, FORM, LABEL, LEGEND, TABLE, CAPTION, TBODY, TFOOT, THEAD, TR, TH, TD, HR {
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    vertical-align: baseline;
    font-family: inherit;
}
DFN, I, CITE, VAR, ADDRESS, EM { font-style: normal }
TH, B, STRONG, H1, H2, H3, H4, H5, H6 { font-weight: normal }
TEXTAREA, INPUT, SELECT {
    font-family: inherit;
    font-size: 1em;
}
SMALL { font-size: .85em }
OL, UL { list-style: none }
TABLE {
    border-collapse: collapse;
    border-spacing: 0;
}
CAPTION, TH, TD { text-align: left }
:focus { outline: none }
*{
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
  -webkit-tap-highlight-color: transparent;
}
.clear:before, .clear:after {
    content: "";
    display: table;
    clear: both;
}
.col { padding: 0 20px }
.row .row { margin: 0 -20px }
.row:before, .row:after {
    content: "";
    display: table;
}
.row:after { clear: both }
@media only screen { 
  .col {
      float: left;
      width: 100%;
      position: relative;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
  }
}
.hidden{
  display: none;
}

/* General
------------------------------------ */

html,
body{
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    color:#616161;
    background: #fff url(images/bg.png);
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
a{
    color: #CC1717;
    text-decoration: none;
    cursor: pointer;
}
a:hover { text-decoration: underline }
strong { font-weight: 700 }
em { font-style: italic }
.clear { clear: both }
input { vertical-align: middle }
.container {
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
}
.col-20{
  width: 20%;
}
.col-25{
  width: 25%;
}
.col-30{
  width: 30%;
}
.col-33{
  width: 33.3333333333%;
}
.col-35{
  width: 35%;
}
.col-40{
  width: 40%;
}
.col-50{
  width: 50%;
}
.col-60{
  width: 60%;
}
.col-66{
  width: 66.6666666666%;
}
.col-70{
  width: 70%;
}
.col-80{
  width: 80%;
}
.hide-tablet{
  display: none !important;
}
#container{
  position: relative;
  min-height: 100%;
}

/* Header
------------------------------------ */

#header{
background: -webkit-gradient(linear, left top, right top, from(#F0F5FA), to(#E9E9E9));
background: -webkit-linear-gradient(top, #F0F5FA, #E9E9E9);
background: -moz-linear-gradient(top, #F0F5FA, #E9E9E9);
background: -o-linear-gradient(top, #F0F5FA, #E9E9E9);
background: -ms-linear-gradient(top, #F0F5FA, #E9E9E9);
background: linear-gradient(top, #F0F5FA, #E9E9E9);
background-color: #F0F5FA;
  width: 100%;
  height: 106px;
  position: relative;
  z-index: 1000;
  border-top: 2px solid #ED3332;
  border-bottom: 4px solid #0E5293;
}
#header1:after{
  content: '';
  position: absolute;
  left: 0;
  bottom:0;
  width: 100%;
  height: 4px;
  background: #0E5293;
}
#header .logo{
  position: absolute;
  display: block;
  left: 0;
  top:4px;
}
#header .top-links{
  display: inline-block;
  position: absolute;
  top:20px;
  right: 20px;
  color: #7C7B7B;
  font-size: 14px;
  line-height: 24px;
}
#header .top-links .sep{
  display: inline-block;
  padding: 0 10px;
}
.social-links{
  display: inline-block;
  float: right;
  margin-left: 30px;
}
.social-links a{
  display: inline-block;
  float: left;
  width: 22px;
  height: 22px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  line-height: 22px;
  border-radius: 50%;
  font-size: 12px;
  margin-left: 2px;
}
.social-links .facebook{
  background: #3251A7;
}
.social-links .twitter{
  background: #4DBACD;
}
.social-links .email{
  background: #D51F1E;
}
.menu-wrapper{
  position: absolute;
  top:71px;
  display: inline-block;
  right: 0;
  z-index: 2000;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.flexnav {
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    transition: none;
    -webkit-transform-style: preserve-3d;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    max-height: 0;
}
.flexnav.opacity { opacity: 0 }
.flexnav.flexnav-show {
    max-height: 2000px;
    opacity: 1;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}
.flexnav li {
    font-size: 100%;
    position: relative;
    overflow: hidden;
}
.flexnav li a {
  position: relative;
  display: block;
  padding: 0.96em;
  z-index: 2;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  background: #26639D;
  border-bottom: 1px solid #22598D;
  text-decoration: none;
}
.flexnav li .sub-menu { display:none }
.flexnav li ul { width: 100%; }
.flexnav li ul li {
    font-size: 100%;
    position: relative;
    overflow: hidden;
}
.flexnav li ul.flexnav-show li { overflow: visible }
.flexnav li ul li a {
    display: block;
    background: #3B72A6;
    padding-left: 30px;
}
.flexnav ul li ul li a { background: #bfbfbc }
.flexnav ul li ul li ul li a { background: #cbcbc9 }
.flexnav .touch-button {
    position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    width: 51px;
    height: 51px;
    display: inline-block;
    background: #841911;
    background: rgba(0, 0, 0, 0.03);
    text-align: center;
}
.flexnav .touch-button:hover { cursor: pointer }
.flexnav .touch-button .navicon {
  position: relative;
  top: 1.4em;
  font-size: 12px;
  color: #fff;
}
.menu-button {
    display: block;
    background: url(images/menu.png) no-repeat;
    border: none;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    overflow: hidden;
    position: absolute;
    cursor: pointer;
    outline: none;
    top: 60px;
    right: 20px;
}
.menu-button :after {
display: none;
}
.menu-button .touch-button {
display: none;
}
.menu-button .touch-button .navicon {
display: none;
}
@media all and (min-width: 960px) { 
  .flexnav .logo { display: inline-block }
  .touch-button { display: none !important }
  .flexnav {
      overflow: visible;
      position: relative;
  }
  .flexnav.opacity { opacity: 1 }
  .flexnav li {
      position: relative;
      float: left;
      display: inline-block;
      background: none;
      overflow: visible;
      width: auto;
      font-size: 19px;
      text-transform: uppercase;
  }
  .flexnav li:first-child { margin-left: 0 }
  .flexnav > li > a {
      border-left: none;
      border-bottom: none;
      background: none;
      color: #1A355A;
      text-decoration: none;
      padding: 0;
      height: 35px;
      line-height: 35px;
      padding: 0 20px;
      border-bottom: 4px solid #0E5293;
  }
  .flexnav li:hover a,
  .flexnav li.current-menu-item a,
  .flexnav li.current-menu-ancestor a{
    color: #CF2024;
    border-bottom: 4px solid #cf2024;
  }
  .flexnav li > ul {
      position: absolute;
      top: auto;
      left: 0;
      width: 250px;
  }
  .flexnav li > ul li {
      width: 100%;
      border-top: 1px solid #0E5293;
      text-transform: none;
      margin-left: 0;
      font-size: 15px;
      position: relative;
  }
  .flexnav li > ul li:first-child { border-top: none }
  .flexnav li > ul li:before{
    content: '';
    position: absolute;
    top:0;
    width: 100%;
    height: 1px;
    background: #8F2017;
  }
  .flexnav li > ul li:first-child:before { display: none; }
  .flexnav li > ul li:hover a {
    background: #0E5293;
    color: #fff !important;
  }
  .flexnav li ul li > ul {
      margin-left: 100%;
      top: 0;
  }
  .flexnav li ul li a {
      border-bottom: none !important;
      background: #3B72A6;
      color: #fff !important;
      letter-spacing: 0;
      padding: 10px 15px;
      line-height: normal;
      height: auto;
      text-shadow: none;
  }
  .flexnav li ul.open {
      display: block;
      opacity: 1;
      visibility: visible;
      z-index: 1;
  }
  .flexnav li ul.open li {
      overflow: visible;
      max-height: 100px;
  }
  .flexnav li ul.open ul.open {
      margin-left: 100%;
      top: 0;
  }
  .menu-button { display: none }
}

/* Home
------------------------------------ */

#home-slider{
    position: relative;
    height: 586px;
}
#home-slider .owl-carousel,
#home-slider .owl-stage-outer,
#home-slider .owl-stage,
#home-slider .item,
#home-slider .owl-item,
#home-slider .container{
  height: 100%;
}
#home-slider .item{
  position: relative;
  width: 100% !important;
  background-position: top center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#home-slider img{
  display: block;
}
#home-slider .inner{
  position: absolute;
  bottom: 40px;
  left: 8px;
  color: #fff;
  width: 500px;
  min-height: 160px;
  background: rgba(0, 0, 0, 0.8);
  padding: 30px 30px 30px 60px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#home-slider .inner .headline{
  display: block;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
}
#home-slider .inner .text{
  display: block;
  margin-bottom: 10px;
  line-height: 140%;
  font-size: 14px;
}
#home-slider .inner .more{
  display: inline-block;
  line-height: 100%;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}
#home-slider .slider-nav{
  width: 40px;
  height: 100%;
  background: #26639D;
  position: absolute;
  top:0;
  left: 0;
}
#home-slider .slider-nav-inner{
  position: absolute;
  top:50%;
  left:15px;
  height: 51px;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
}
#home-slider .slider-nav .prev,
#home-slider .slider-nav .next{
  position: absolute;
  color: #fff;
  font-size: 18px;
  display: inline-block;
  left: 0;
  z-index: 1;
  cursor: pointer;
}
#home-slider .slider-nav .prev{
  top:0;
}
#home-slider .slider-nav .prev:after{
  content: '';
  width: 10px;
  height: 1px;
  background: #fff;
  position: absolute;
  bottom: -2.5px;
  left: 0;
}
#home-slider .slider-nav .next{
  bottom: 0;
}
#row-2 .container{
  padding: 30px 12px 89px 12px;
}
#row-2 .col{
  padding-right: 8px;
  padding-left: 8px;
}
#row-2 .inner{
  background: #fff;
  position: relative;
  display: block;
  text-decoration: none;
}
#row-2 .image{
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid #E2E1E1;
  border-bottom: 0;
}
#row-2 .image img{
  display: block;
  width: 100%;
  height: auto;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
}
#row-2 .inner:hover .image img{
    -webkit-transform:scale(1.15); /* Safari and Chrome */
    -moz-transform:scale(1.15); /* Firefox */
    -ms-transform:scale(1.15); /* IE 9 */
    -o-transform:scale(1.15); /* Opera */
     transform:scale(1.15);
}
#row-2 .image .headline{
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(14, 82, 147, 0.9);
  color: #fff;
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 800;
  width: 100%;
  padding: 15px 0;
  line-height: 100%;
}
#row-2 .button-wrapp{
  padding: 20px 25px;
  position: absolute;
  bottom: -52px;
  height: 70px;
  background: #fff;
  width: 100%;
  border: 1px solid #E2E1E1;
  border-top: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
transition: all 0.5s linear;
}
#row-2 .inner:hover .button-wrapp{
  padding: 30px 25px;
  height: 90px;
  bottom: -90px;
}
#row-2 .more{
  display: block;
  width: 100%;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #999898;
  font-size: 14px;
  background: #F9F9F9;
  border:1px solid #E7E7E7;
  text-decoration: none;
}
#row-2 .more:hover{
  background: #BF2730;
  color: #fff;
}
#row-3{
  margin-bottom: 40px;
}
#row-3 .inner{
  padding: 30px 0;
  border-top: 1px solid #E2E1E1;
  border-bottom: 1px solid #E2E1E1;
}
#row-3 .headline{
  display: block;
  color: #C84035;
  font-size: 24px;
  margin-bottom: 10px;
}
#row-3 p{
  display: block;
  color: #5C6976;
  font-size: 18px;
}
#row-3 a{
  font-size: 14px;
  font-weight: 700;
}
#row-4{
  margin-bottom: 50px;
}
#row-4 .container{
  padding-left: 12px;
  padding-right: 12px;
}
#row-4 .col{
  padding-left: 8px;
  padding-right: 8px;
}
#row-4 .box{
  margin-bottom: 16px;
  width: 50%;
  padding-right: 8px;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#row-4 .box.box-right{
  padding-right: 0;
  padding-left: 8px;
}
#row-4  .box.box-wide{
  width: 100%;
  padding: 0;
}
#row-4  .box.box-bottom{
  margin-bottom: 0;
}
#row-4 .box .inner{
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
#row-4 .box img{
  width: 100%;
  height: auto;
  display: block;
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
transition: all 0.5s linear;
}
#row-4 .box .inner:hover img{
    -webkit-transform:scale(1.15); /* Safari and Chrome */
    -moz-transform:scale(1.15); /* Firefox */
    -ms-transform:scale(1.15); /* IE 9 */
    -o-transform:scale(1.15); /* Opera */
     transform:scale(1.15);
}
#row-4 .box .headline{
  display: block;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 15px;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  text-align: center;
  background: rgba(14, 82, 147, 0.9);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
transition: all 0.5s linear;
}
#row-4 .box .headline:before{
  content: '';
  position: absolute;
  top:-15px;
  left: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 15px 15px 15px;
  border-color: transparent transparent rgba(14, 82, 147, 0.9) transparent;
-webkit-transform: translate(-50%, 0%);
-moz-transform: translate(-50%, 0%);
-o-transform: translate(-50%, 0%);
-ms-transform: translate(-50%, 0%);
transform: translate(-50%, 0%);
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
transition: all 0.5s linear;
}
#row-4 .box .inner:hover .headline{
  background: rgba(191, 39, 48, 0.9);
}
#row-4 .box .inner:hover .headline:before{
  border-color: transparent transparent rgba(191, 39, 48, 0.9) transparent;
}
#row-5{
  padding-top: 40px;
  background: #fff  url(images/bg-news.png) repeat-x top;
  border-top: 1px solid #D4D4D4;
}
#row-5 h3{
  font-weight: 800;
  color: #26639D;
  font-size: 30px;
  text-transform: uppercase;
  text-align: center;
  display: block;
  margin-bottom: 40px;
}
#row-5 h3 span{
  display: inline-block;
  border-bottom: 1px solid #87A7BF;
  padding: 0 110px 30px 110px;
}
.news-slider{
  padding-bottom: 80px;
  position: relative;
}
.news-slider .date{
  display: block;
  text-transform: uppercase;
  color: #637282;
  font-size: 14px;
  margin-bottom: 10px;
}
.news-slider .title{
  display: block;
  text-transform: uppercase;
  color: #26639D;
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
  text-decoration: none;
}
.news-slider p{
  display: block;
  color:#637282;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 140%;
}
.news-slider .more{
  display: inline-block;
  color: #26639D;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
}
.news-slider .more:hover{
  color: #B20303;
}
.news-slider .owl-nav{
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
-webkit-transform: translate(-50%, 0%);
-moz-transform: translate(-50%, 0%);
-o-transform: translate(-50%, 0%);
-ms-transform: translate(-50%, 0%);
transform: translate(-50%, 0%);
}
.news-slider .owl-prev{
  width: 30px;
  height: 30px;
  float: left;
  display: block;
  background: #E0E6ED;
  color: #fff;
  line-height: 30px;
  text-align: center;
  font-size: 14px;
}
.news-slider .owl-next{
  width: 30px;
  height: 30px;
  float: right;
  display: block;
  background: #E0E6ED;
  color: #fff;
  line-height: 30px;
  text-align: center;
  font-size: 14px;
}
.news-slider .owl-prev:hover,
.news-slider .owl-next:hover{
  background: #C0CDDB;
}
#row-6{
  background: url(images/row-6-bg.png);
  border-top: 1px solid #A9B8C6;
  padding: 40px 0 20px 0;
}
#row-6 img{
  max-width: 100%;
  height: auto;
}
#row-6 .headline{
  display: block;
  font-weight: 700;
  color: #1F5E9B;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 10px;
  margin-top: 20px;
}
#row-6 p{
  display: block;
  margin-bottom: 8px;
  color: #1F5E9B;
  font-size: 14px;
  line-height: 120%;
}
#row-6 a{
  display: inline-block;
  font-weight: 700;
  color: #B30F0E;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
}

/* Main
------------------------------------ */

#page-top{
  height: 400px;
  margin-bottom: 30px;
  background-position: top center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#page-top .container,
#page-top .col{
  height: 100%;
  position: relative;
}
#page-top .text{
  overflow: hidden;
  background:rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 20px;
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 540px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-left: 40px solid #26639D;
}
#page-top .text .title{
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 120%;
  font-weight: 700;
}
#page-top .text .subhead{
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 140%;
  font-weight: 700;
  margin-top: 10px;
}
#main{
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
#main:before{
  content: '';
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 440px;
  background: url(images/bg-3.jpg) no-repeat center;
  width: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* Page
------------------------------------ */

.page-row{
  display: table;
  width: 100%;
  border: 1px solid #DFDFDF;
  table-layout: fixed;
}
.page-row .page{
  width: 100%;
  float: none;
  display: table-cell;
  vertical-align: top;
  background: #fff;
  padding: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.content h1{
  border-bottom: 1px solid #E6E6E6;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 20px;
  color: #3B3A3A;
  line-height: 100%;
  text-transform: uppercase;
}
.content h2{
  font-size: 24px;
  margin-bottom: 10px;
  color: #422724;
}
.content h3{
    font-size: 20px;
    margin-bottom: 10px;
    color: #422724;
}
.content h4{
    font-size: 18px;
    margin-bottom: 10px;
    color: #422724;
}
.content p {
    margin: 0 0 15px 0;
    line-height: 140%;
}
.content ul {
    margin: 0 0 15px 20px;
    line-height: 140%;
    list-style: disc;
}
.content ul li { margin: 0 0 5px 0 }
.content ol {
    margin: 0 0 15px 20px;
    list-style: decimal;
    line-height: 140%;
}
.content ol li { margin: 0 0 5px 0 }
.content blockquote {
    margin: 0 0 15px 10px;
    border-left: 4px solid #2C8383;
    padding: 0 0 0 10px;
    font-style: italic;
}
.content table{
  width: 100%;
  margin-bottom: 20px;
}
.content td,
.content th{
  border: 1px solid #2C8383;
  padding: 10px;
}
.content th{
  font-weight: 700;
}
.content hr{
  display: block;
  width: 100%;
  height: 1px;
  background: #2C8383;
  margin-bottom: 20px;
  clear: both;
}
.content a[href$=".pdf"],
.content a[href$=".doc"],
.content a[href$=".xls"]{
  position: relative;
  display: inline-block;
  padding-left: 25px;
}
.content a[href$=".pdf"]:before,
.content a[href$=".doc"]:before,
.content a[href$=".xls"]:before{
  content: '';
  position: absolute;
  display: block;
  top:0;
  left: 0;
  width: 16px;
  height: 16px;
}
.content a[href$=".pdf"]:before{
  background: url(images/pdf-16.png) no-repeat;
}
.content a[href$=".doc"]:before{
  background: url(images/word-16.png) no-repeat;
}
.content a[href$=".xls"]:before{
  background: url(images/excel-16.png) no-repeat;
}
.content .image img {
    display: block;
    margin-bottom: 30px;
    width: auto !important;
    height: auto !important;
}
.content img {
  margin-bottom: 20px;
  max-width: 100%;
  height: auto !important;
}
.content .video{
  margin-bottom: 20px;
}
.alignleft {
    float: left;
    margin: 10px 30px 0 0;
}
.alignright {
    float: right;
    margin: 10px 0 0 30px;
}
.aligncenter, div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.content img + br { display: none }
.wp-caption {
  width: auto !important;
  display: table !important;
  margin-bottom: 20px;
}
.wp-caption-text {
    font-size: 11px;
    text-align: center;
    position: relative;
    margin-top: 2px !important;
    display: table-caption;
    caption-side: bottom;
    margin-bottom: 0!important;
    color:#218b82;
}
.wp-caption p:first-of-type{

}
.wp-caption img{
  margin-bottom: 0;
}
.wp-caption-text span {
    display: inline-block;
    background: #fff;
    padding: 0 22px 0 22px;
    position: relative;
    z-index: 1;
}

.navigation {
    margin-top: 20px;
    text-align: center;
}
.wp-paginate li{
  display: inline-block;
  color: #5A5B5A;
  font-size: 18px;
  text-transform: uppercase;
  line-height: 30px;
}
.wp-paginate .title{
  display: inline-block;
  padding-right:10px;
  width: auto;
}
.wp-paginate a,
.wp-paginate span{
    width: 30px;
    height: 30px;
    text-align: center;
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
    color: #5A5B5A;
    float: left;
}
.wp-paginate .current {
  background: #D1DCA6;
}
.page-numbers:hover {
}
.page-numbers.next,
.page-numbers.prev{

}
.single-post .date{
  font-size: 22px;
  display: block;
  margin-bottom: 10px;
}

.gallery-shortcode-grid{
  margin-bottom: 20px;
}
.gallery-shortcode-grid a{
    display: inline-block;
    text-decoration: none;
    font-size: 0;
    line-height: 0;
    width: calc(100%/4);
    margin: 0;
    padding: 10px 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.gallery-shortcode-grid img{
  display: block;
  margin: 0;
}
.gallery-shortcode-thumbs{
  max-width: 830px;
  margin: 0 auto;
}
#thumbs-slider{
  position: relative;
}
.gallery-shortcode-thumbs{
  margin-bottom: 30px;
}
.gallery-shortcode-thumbs .item{
  cursor: pointer;
}
#thumbs-slider .owl-prev,
#thumbs-slider .owl-next{
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-weight: 700;
  position: absolute;
  top:50%;
  left: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  display: block;
-webkit-transform: translate(0px, -50%);
-moz-transform: translate(0px, -50%);
-o-transform: translate(0px, -50%);
-ms-transform: translate(0px, -50%);
transform: translate(0px, -50%);
}
#thumbs-slider .owl-next{
  left: auto;
  right: 10px;
}
#thumbs-slider img{
  margin-bottom: 0;
}
.su-spoiler-title {
    background:#C2D1DF;
    border-radius: 5px;
    padding: 7px 7px 7px 38px !important;
}
.su-spoiler-style-default > .su-spoiler-title > .su-spoiler-icon {
    left: 10px !important;
}
.gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=password] {
 border: 1px solid transparent;
  border-top: none;
  border-bottom: 1px solid #DDD;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.39), 0 -1px 1px #FFF, 0 1px 0 #FFF;
}
.gform_wrapper textarea,
.gform_wrapper select{
 border: 1px solid transparent;
  border-top: none;
  border-bottom: 1px solid #DDD;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.39), 0 -1px 1px #FFF, 0 1px 0 #FFF;
}
.gform_wrapper select{
  height: 32px;
}

/* Sidebar
------------------------------------ */

.sidebar{
  width: 310px;
  float: none;
  display: table-cell;
  vertical-align: top;
  background: #F8F8F8;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.sidebox {

}
.sidebox .headline,
.sidebox h3{
  color: #004072;
  padding: 20px 30px;
  background: #c2d1df;
  display: block;
  border-bottom: 1px solid #cdd3da;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
}
.sidebox h3 a{
  color: #004072;
  text-decoration: none;
}
.sidebox h4{
  font-size: 24px;
  color: #422724;
  padding: 15px 30px 15px 30px;
  margin-bottom: 20px;
  display: block;
  border-bottom: 1px solid #E8E3DB;
}
.sub-nav,
.category-list{
}
.sub-nav a,
.category-list a{
  padding: 15px 30px;
  font-size: 15px;
  color: #7F6D6B;
  display: block;
  text-decoration: none;
}
.sub-nav a:hover{
  color: #004072;
  background: #c2d1df;
}
.sub-nav .current_page_item > a,
.category-list .current-cat > a{
  color: #004072;
  background: #c2d1df;
}
.sub-nav li,
.category-list li{
  border-top: 1px solid #E4E4E4;
}
.sub-nav li:first-child,
.category-list li:first-child{
  border-top: 0;
}
.sub-nav li .children{
  display: none;
}
.sub-nav li.current_page_item > .children,
.sub-nav li.current_page_ancestor > .children,
.sub-nav li.current_page_ancestor li.current_page_item .children{
  display: block;
}
.sub-nav .children li.current_page_item > a,
.sub-nav .children li.current_page_ancestor > a{
  display: block;
  color: #218b82;
}
.sub-nav li .children a{
  font-size: 13px;
  color: #4b4c4c;
  padding: 0 15px 0 0;
  background: none !important;
}
.sub-nav li .children li{
  margin-top: 10px;
  margin-left: 45px;
}
.sub-nav li .children li:first-child{
  margin-top: 0;
}
.sub-nav li .children{
  background: #E0E3E4;
  padding: 10px 0;
}
.sub-nav li .children .children a{
  font-size: 12px;
  padding: 10px 10px 10px 0;
}
.sidebar .gform_wrapper{
  padding: 0 20px;
}
.sidebar .gform_wrapper label{
  width: 100% !important;
  display: block;
  float: none !important;
}
.sidebar .gform_wrapper input[type="text"],
.sidebar .gform_wrapper textarea,
.sidebar .gform_wrapper select{
  width: 100% !important;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.sidebar .gform_footer{
  padding: 0 !important;
}
.sidebar  .gform_wrapper  li{
  margin-bottom: 8px !important;
}
.sidebar input[type="submit"]{
  border:0;
  color: #fff;
  background: #1F5E9B;
  padding: 8px 20px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

/* News
------------------------------------ */

.masonry { /* Masonry container */
  -webkit-column-count: 3;
  -moz-column-count: 3;
  -o-column-count: 3;
  -ms-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  -o-column-gap: 20px;
  -ms-column-gap: 20px;
  column-gap: 20px;
}

.blog-listing .item{
    display: block;
    width: calc(100%/3.01);
    padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.blog-listing .item.with-image{

}
.blog-listing .item .inner{
  border:1px solid #CDCECE;
  background: #fff;
}
.blog-listing .item .text{
  padding: 15px 25px;
}
.blog-listing .item img{
  display: block;
  width: 100%;
  height: auto;
}
.blog-listing .item .date{
  display: block;
  text-align: center;
  text-transform: uppercase;
  color: #B0B2B2;
  font-size: 12px;
  margin-bottom: 10px;
}
.blog-listing .item p{
  line-height: 140%;
  color: #8B8989;
}
.blog-listing .item .more{
  display: block;
  height: 40px;
  line-height: 40px;
  text-align: center;
  text-transform: uppercase;
  color: #26639D;
  font-size: 14px;
  text-decoration: none;
  border-top:1px solid #CDCECE;
}
.blog-listing .item .title{
  display: block;
  line-height: 100%;
  text-align: center;
  text-transform: uppercase;
  color: #26639D;
  font-size: 16px;
  text-decoration: none;
  margin-bottom: 15px;
}
.alm-reveal{

}
.alm-reveal:before, .alm-reveal:after {

}
.alm-btn-wrap{
  text-align: center;
  margin-top: 20px;
}
#load-more{
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  background: #1F5E9B;
  color: #fff;
  font-size: 16px;
  border-radius: 3px;
  border:0;
  font-weight: 700;
  cursor: pointer;
}

/* News Post
------------------------------------ */

.single-meta{
  margin-bottom: 15px;
}
.single-meta .sep{
  display: inline-block;
  padding: 0 10px;
}

/* Gallery Listing
------------------------------------ */

.filters-header{
  padding-bottom: 30px;
}
#gallery-grid{
  padding: 0 10px;
}
#gallery-grid .mix{
  display: none;
  float: left;
  padding: 0 10px;
  width: 25%;
  font-size: 0;
  margin-bottom: 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#gallery-grid .image{
  position: relative;
}
#gallery-grid .image:before{
  content: '';
  position: absolute;
  width: 72px;
  height: 54px;
  background: url(images/images.png) no-repeat;
  top:15px;
  left: 15px;
}
#gallery-grid .image.video-gallery:before{
  background: url(images/video.png) no-repeat;
}
#gallery-grid .image img{
  display: block;
  width: 100%;
  height: auto;
}
#gallery-grid .item{
  background: #FFF;
  border: 1px solid #DFDFDF;
  display: block;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#gallery-grid .item .text{
  padding: 12px 15px 30px 15px;
}
#gallery-grid .item .date{
  display: block;
  margin-bottom: 8px;
  color:#26639D;
  font-size: 14px;
}
#gallery-grid .item .date .count{
  font-weight: 700;
  color: #000;
  display: inline-block;
  float: right;
}
#gallery-grid .item .title{
  display: block;
  margin-bottom: 15px;
  font-size: 15px;
  color:#000;
  font-weight: 700;
  text-transform: uppercase;
}
#gallery-grid .item:hover .title{
  color:#26639D;
}
#gallery-grid .item .description{
  display: block;
  line-height: 140%;
  margin-bottom: 15px;
  color:#616161;
  line-height: 140%;
  font-size: 13px;
}
#gallery-grid .item:hover .description{
  color:#26639D;
}
#gallery-grid .item .more{
  display: inline-block;
  color:#26639D;
  font-size: 14px;
}
.filter-triggers{
  display: inline-block;
  float: right;
}
.filter-triggers .filter-button{
  display: inline-block;
  padding: 0 15px;
  height: 34px;
  line-height: 34px;
  padding: 0 10px;
  color:#fff;
  background: #26639D;
  font-size: 16px;
  text-transform: uppercase;
  float: left;
  margin-left: 15px;
  cursor: pointer;
  text-decoration: none;
}
#gallery-page .filter-triggers .filter-button{
  background: #133102;
}
.filter-panel{
  position: absolute;
  top:64px;
  right: -300px;
  background: #fff;
  background: rgba(255, 255, 255, 0.95);
  width: 300px;
  z-index: 3000;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.filter-panel.active{
  right: 0;
}
.filter-panel .filter-top{
  height: 50px;
  background: #000;
}
.filter-panel .filter-top .close{
  display: block;
  width: 50px;
  height: 50px;
  background: #3F3D3D;
  color: #fff;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
}
.filter-panel .inner{
  overflow: auto;
  padding: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.filter-block .headline{
  display: block;
  color: #929090;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 14px;
}
.filter-list li{
  color: #353434;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  cursor: pointer;
  line-height: 18px;
}
.filter-list.checkbox li:before{
  content: '';
  position: absolute;
  top:0;
  left: 0;
  width: 18px;
  height: 18px;
  background: #fff;
  border:2px solid #E5E5E5;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.filter-list.checkbox li.active:before{
  background: #26639D;
  border:0;
}


/* Single Gallery
------------------------------------ */

.gallery-grid .item{
  width: 25%;
  float: left;
  padding: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.gallery-grid .item img{
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px !important;
}
.gallery-grid .item .title{
  display: block;
  font-weight: 700;
  text-decoration: none;
}

/* Footer
------------------------------------ */

.footer-1{
  padding: 40px 0;
  background: #1F5E9B;
  position: relative;
  color: #FDFDFD;
  font-size: 13px;
  word-wrap: break-word;
}
.footer-1 .inner{
  padding-right: 40px;
}
.footer-1 a{
  color: #FDFDFD;
}
.footer-1 p{
  margin-bottom: 25px;
  line-height: 140%;
}
.footer-1 .see-link{
  display: inline-block;
  background: #6A1505;
  text-decoration: none;
  padding: 10px;
  text-transform: uppercase;
  font-size: 16px;
  color: #fff;
}
.footer-2{
  padding: 25px 0;
  font-size: 14px;
  background: #19518E;
  color: #7DB6ED;
  font-style: italic;
  line-height: 140%;
}
.footer-3{
  padding: 25px 0;
  font-size: 13px;
  background: #19518E;
  color: #E9E9E9;
}
.footer-3 a{
  color: #E9E9E9;
}
.footer-3 .copyright{
  display: inline-block;
  float: left;
}
.footer-3 .by{
  display: inline-block;
  float: right;
}
.footer-3 .social-links{
  display: inline-block;
  float: none;
  margin-left: 0;
  position: absolute;
  top:0;
  left: 50%;
  -webkit-transform: translate(-50%, 0%);
  -moz-transform: translate(-50%, 0%);
  -o-transform: translate(-50%, 0%);
  -ms-transform: translate(-50%, 0%);
  transform: translate(-50%, 0%);
}
.social-links a{
  display: inline-block;
  float: left;
  width: 24px;
  height: 24px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  line-height: 24px;
  border-radius: 50%;
  font-size: 13px;
  margin: 0 2px 0 2px;
  background: #07265E;
}
.back-top{
  cursor: pointer;
  display: block;
  background: #2257A3;
  width: 40px;
  height: 40px;
  outline: none;
  text-indent: -9999px;
  border-radius:3px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  visibility:hidden;
  opacity: 0;
}
#footer h5{
  color: #FDFDFD;
  margin-bottom: 20px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
}
.back-top.cd-is-visible {
  visibility: visible;
  opacity: 1;
}
.back-top.cd-fade-out {
  opacity: .5;
}
.back-top:before{
  content: '';
  position: absolute;
  top:50%;
  left: 50%;
  width: 24px;
  height: 16px;
  background: url(images/sprite.png) no-repeat -77px 0;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}



@media (max-width: 1024px){

#row-2 .image .headline {
    font-size: 16px;
}

}



@media (max-width: 1023px) {

}
@media (max-width: 959px) {


.menu-wrapper {
    top: 106px;
    display: block;
    width: 100%;
}

}
@media (max-width: 940px) {


}

@media (max-width: 800px) {
  .menu-wrapper{
    width: 100%;
    left: 0;
  }
  .header-2{
    background: transparent;
    height: auto;
  }
  #row-1 .col-50{
    width: 100%;
  }
  #row-3 .latest-content{
    width: 100%;
  }
  #row-4 .todays-prayer{
    width: 100%;
    margin-bottom: 30px;
  }
  #row-4 .col-30{
    width: 100%;
  }
  #footer .col{
    width: 100%;
  }
  #footer .col-50-tablet{
    width: 50%;
  }
#gallery-grid .mix {
    width: 50%;
}
  .masonry {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    -o-column-count: 2;
    -ms-column-count: 2;
    column-count: 2;
}
  #home-slider {
    height: 400px;
  }

  .page-row{
    display: block;
  }
  .page{
    width: 100%;
    padding-right: 0;
    display: block !important;
  }
  .sidebar{
    width: 100%;
    padding-left: 0;
    padding-bottom: 0;
    padding-top: 0;
    display: block !important;
  }

  #row-2 .button-wrapp {
    padding: 20px 15px;
}
#row-2 .image .headline {
    font-size: 19px;
}
#row-6 .headline{
  margin-top: 0;
}

#header .top-links {
    top: 12px;
}
.social-links {
    margin-left: 10px;
}
#header .top-links .sep {
    padding: 0 5px;
}
#header .top-links{
    top: 12px;
}
.blog-listing .item{
    width: calc(100%/2);
}

}

@media (max-width: 767px){
#page-top .text,
#home-slider .inner{
    width: 100%;
}
.menu-button {
    top: 55px;
    right: 20px;
}
#row-4 .col-50{
  width: 100%;
}
#row-4 .col-50:first-child{
  margin-bottom: 16px;
}
  #home-slider{
    margin-bottom: 0;
  }
#row-2 .col{
  width: 50%;
}
#row-2 .col:nth-child(1),
#row-2 .col:nth-child(2){
  margin-bottom: 80px;
}
#row-2 .inner:hover .button-wrapp{
    padding: 20px 25px;
    bottom: -52px;
    height: 70px;
}

  #main{
    margin-bottom: 0;
  }
  #main .container{
    border-bottom: 0;
  }
  .hide-mobile{
    display: none !important;
  }
  .hide-tablet{
    display: block !important;
  }

  #row-2 .button-wrapp {
    padding: 20px 25px;
}
#row-2 .image .headline {
    font-size: 24px;
}
#header .top-links .mobile-hide,
#header .top-links .sep{
  display: none;
}

}

@media (max-width: 640px) {

  #footer .col-50-tablet{
    width: 100%;
  }
.masonry {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    -o-column-count: 1;
    -ms-column-count: 1;
    column-count: 1;
}
.gallery-grid .item {
    width: 50%;
}
#gallery-grid .mix {
    width: 100%;
}

#header .logo{
  top:30px;
  left:10px;
}
#header .logo img{
  width: 200px;
  height: auto;
}
  .menu-button{
    right: 10px;
  }
#row-2 .col {
    width: 100%;
    margin-bottom: 80px;
}
#row-2 .container {
    padding: 30px 12px 0 12px;
}

.content img {
    max-width: 100%;
}
.wp-caption {
    max-width: 100% !important;
    margin-bottom:15px;
}
#row-6 .col{
  width: 100%;
}
#row-6 .col:first-child{
  margin-bottom: 20px;
}
#row-6{
  padding-bottom: 40px;
}
#header .top-links{
    right: 10px;
}

#home-slider .inner {
    bottom: 20px;
    min-height: 100px;
    padding: 20px 30px 20px 60px;
}
#home-slider .inner .headline {
    margin-bottom: 10px;
    font-size: 16px;
}

}


@media (max-width: 480px) {
  .blog-listing .item{
    width: 100%;
}

#home-slider .inner {
    min-height: 80px;
    padding: 15px 30px 15px 60px;
}
#home-slider .inner .headline {
    margin-bottom: 10px;
    font-size: 14px;
}
#home-slider .inner .text {
    display: none;
}
#home-slider .inner .more{
    font-size: 12px;
}
	#row-4 .box {width: 100%;}
	#row-4 .box .inner {height: 200px;}
	#row-4 .box.box-right {padding-left: 0px; padding-right: 0;}
	#row-4 .box.box-left {padding-left: 0px; padding-right: 0;}

.sidebar .gform_wrapper label{
  width: 100% !important;
  display: block;
  float: none !important;
  margin-bottom: 5px !important;
}
.sidebar .gform_wrapper input[type="text"],
.sidebar .gform_wrapper textarea,
.sidebar .gform_wrapper select,
body .sidebar .gform_wrapper .ginput_container input.large,
body .sidebar .gform_wrapper .ginput_container input.medium,
body .sidebar .gform_wrapper .ginput_container,
body .sidebar .gform_wrapper .ginput_container select.medium,
body .sidebar .gform_wrapper .ginput_container textarea.medium,
body .sidebar .gform_wrapper input.gform_button.button, body .gform_wrapper input[type=submit]{
  width: 100% !important;
  margin-left: 0 !important;
}
.sidebar .gform_footer{
  padding: 0 !important;
}
.sidebar  .gform_wrapper  li{
  margin-bottom: 8px !important;
}
.sidebar input[type="submit"]{
  border:0;
  color: #fff;
  background: #1F5E9B;
  padding: 8px 0;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}


}







/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out; }

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; }
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
  .mfp-close:hover, .mfp-close:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  filter: alpha(opacity=65);
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover, .mfp-arrow:focus {
    opacity: 1;
    filter: alpha(opacity=100); }
  .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after, .mfp-arrow .mfp-a {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before, .mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; }
 }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }

  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }

  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }

  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; }
 }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }








