

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

/* Magnific Popup CSS */
.mfp-bg,.mfp-wrap{position:fixed;left:0;top:0}
.mfp-bg,.mfp-container,.mfp-wrap{height:100%;width:100%}
.mfp-arrow:after,.mfp-arrow:before,.mfp-container:before,.mfp-figure:after{content:''}
.mfp-bg{z-index:1042;overflow:hidden;background:#0b0b0b;opacity:.8}
.mfp-wrap{z-index:1043;outline:0!important;-webkit-backface-visibility:hidden}
.mfp-container{text-align:center;position:absolute;left:0;top:0;padding:0 8px;box-sizing:border-box}
.mfp-container:before{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-ajax-holder .mfp-content,.mfp-inline-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-arrow,.mfp-close,.mfp-counter,.mfp-preloader{-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:-.8em;left:8px;right:8px;z-index:1044}
.mfp-preloader a{color:#CCC}.mfp-close,.mfp-preloader a:hover{color:#FFF}
.mfp-s-error .mfp-content,.mfp-s-ready .mfp-preloader{display:none}
button.mfp-arrow,button.mfp-close{overflow:visible;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;display:block;outline:0;padding:0;z-index:1046;box-shadow:none;touch-action:manipulation}
.mfp-figure:after,.mfp-iframe-scaler iframe{box-shadow:0 0 8px rgba(0,0,0,.6);position:absolute;left:0}
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:.65;padding:0 0 18px 10px;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}
.mfp-close:focus,.mfp-close:hover{opacity:1}.mfp-close:active{top:1px}
.mfp-close-btn-in .mfp-close{color:#333}
.mfp-iframe-holder .mfp-close,.mfp-image-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-figure,img.mfp-img{line-height:0}
.mfp-arrow{position:absolute;opacity:.65;margin:-55px 0 0;top:50%;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent}
.mfp-arrow:focus,.mfp-arrow:hover{opacity:1}
.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}
.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}
.mfp-image-holder .mfp-content,img.mfp-img{max-width:100%}
.mfp-iframe-holder .mfp-close{top:-40px}
.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}
.mfp-iframe-scaler iframe{display:block;top:0;width:100%;height:100%;background:#000}
.mfp-figure:after,img.mfp-img{width:auto;height:auto;display:block}
img.mfp-img{box-sizing:border-box;padding:40px 0;margin:0 auto}
.mfp-figure:after{top:40px;bottom:40px;right:0;z-index:-1;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-gallery .mfp-image-holder .mfp-figure{cursor:pointer}
@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){
  .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,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;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,.6);position:fixed;text-align:center;padding:0}
}
@media all and (max-width:900px){
  .mfp-arrow{-webkit-transform:scale(.75);transform:scale(.75)}
  .mfp-container{padding-left:6px;padding-right:6px}
}
.mfp-ajax-cur, .mfp-zoom-out-cur{cursor:default;}

.mfp-content{
  opacity: 0;
  transition: opacity 0.4s ease;
  -webkit-transition: opacity 0.4s ease;
}
.mfp-s-ready .mfp-content{
  opacity: 1;
}
.mfp-preloader{
  width: 30px;
  height: 30px;
  top: 50%;
  left: 50%;
  margin: -15px 0 0 -15px;
  border: 4px solid;
  border-radius: 50%;
  border-color: rgba(255,255,255, 0.5);
  animation: loader 1035ms infinite linear;
  -o-animation: loader 1035ms infinite linear;
  -ms-animation: loader 1035ms infinite linear;
  -webkit-animation: loader 1035ms infinite linear;
  -moz-animation: loader 1035ms infinite linear;
}
@keyframes loader {
  0% { transform: scale(0); transform: scale(0); }
  90% { transform: scale(0.7); transform: scale(0.7); }
  100% { transform: scale(1); transform: scale(1); }
}
@-o-keyframes loader {
  0% { -o-transform: scale(0); transform: scale(0); }
  90% { -o-transform: scale(0.7); transform: scale(0.7); }
  100% { -o-transform: scale(1); transform: scale(1); }
}
@-ms-keyframes loader {
  0% { -ms-transform: scale(0); transform: scale(0); }
  90% { -ms-transform: scale(0.7); transform: scale(0.7); }
  100% { -ms-transform: scale(1); transform: scale(1); }
}
@-webkit-keyframes loader {
  0% { -webkit-transform: scale(0); transform: scale(0); }
  90% { -webkit-transform: scale(0.7); transform: scale(0.7); }
  100% { -webkit-transform: scale(1); transform: scale(1); }
}
@-moz-keyframes loader {
  0% { -moz-transform: scale(0); transform: scale(0); }
  90% { -moz-transform: scale(0.7); transform: scale(0.7); }
  100% { -moz-transform: scale(1); transform: scale(1); }
}
.mfp-close-btn-in .mfp-close {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  color: #fff;
  font-size: 30px;
  height: 40px;
  line-height: 40px;
  padding: 0;
  position: fixed;
  right: 30px;
  text-align: center;
  top: 30px;
  width: 40px;
  cursor: pointer !important;
}
.mfp-container .voxco-media-gallery-wrapper{
  max-width: 50%;
}
.voxco-media-gallery-wrapper{
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.voxco-media-gallery-wrapper .wp-video{
  width: auto !important;
}
.voxco-media-gallery-wrapper video{
  max-width: 100%;
  height: auto !important;
}
.voxco-media-gallery-wrapper audio{
  visibility: visible !important;
}
.voxco-media-gallery-wrapper iframe {
  max-width: 100%;
  display: inline-block;
}
.voxco-gallery{
  margin:0;
  padding: 0;
  position: relative;
  opacity: 0;
}
.voxco-gallery li{
  list-style: none;
  display: block;
  margin: 0px;
  text-align: center;

}
.voxco-gallery li img{
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.voxco-gallery li a{
  display: block;
  position: relative;
}
.voxco-gallery .media-video a:after{
  content: "\f04b";
  font-family: FontAwesome;
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  font-size: 30px;
  color: #fff;
  transform:translate(-50%, -50%);
  -webkit-transform:translate(-50%, -50%);
}
.voxco-gallery .media-audio a:after{
  content: "\f001";
  font-family: FontAwesome;
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  font-size: 30px;
  color: #fff;
  transform:translate(-50%, -50%);
  -webkit-transform:translate(-50%, -50%);
}
.voxco-gallery .media-image a:after{
  content: "\f002";
  font-family: FontAwesome;
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  font-size: 30px;
  color: #fff;
  transform:translate(-50%, -50%);
  -webkit-transform:translate(-50%, -50%);
}
.gallery-item.p12{width: 100%;}
.gallery-item.p6{width: 50%;}
.gallery-item.p3{width: 25%;}
.gallery-item.p4{width: 33.33%;}
.gallery-item.p8{width: 66.6%;}
.gallery-item.p9{width: 75%;}



.mfp-arrow{
  margin: -55px 0 0 0;
  width: 50px;
}
.mfp-arrow:before {
  border-style: solid;
  border-color: #fff;
  border-width: 2px 2px 0 0;
  content: '';
  display: block;
  height: 25px;
  position: absolute;
  vertical-align: top;
  width: 25px;
}

.mfp-arrow-right{
  right: 20px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.mfp-arrow-left{
  left: 20px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

/*-----------------------------------------------------------------------------------*/
/*	button Styles
/*-----------------------------------------------------------------------------------*/
.button{
  display: inline-block;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-width: 2px;
  border-style: solid;
  padding: 6px 37px 5px 40px;
  max-width: 100%;
  color: inherit;
  border-color: inherit;

}
.button, button, input[type="submit"] {
 -webkit-transition: background 200ms ease;
  -moz-transition: background 200ms ease;
  -ms-transition: background 200ms ease;
  -o-transition: background 200ms ease;
  transition: background 200ms ease;

}
.button:hover{opacity: 1;}

.button.outline{background: transparent;}
.button.small{padding: 5px 10px; border: 1px solid;}

/*-----------------------------------------------------------------------------------*/
/*  Blockquote
/*-----------------------------------------------------------------------------------*/

.blockquote{
  position: relative;
  margin:  0 30px;
}
.blockquote p{margin: 0;}
.auto .blockquote, * + .blockquote{ margin: 30px; }
.blockquote.s-normal blockquote{font-style: normal;}
.blockquote.border-full blockquote{
    border-bottom: 1px solid;
    border-right: 1px solid;
    font-size: 1em;
    border-color: inherit;
}
.blockquote blockquote {
    color: inherit;
    font-size: inherit;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    padding: 35px 35px 0;
    position: relative;
    border-left:none;
}
.blockquote.border-full blockquote:before {
    content: "“";
    font-size: 70px;
    font-family: serif;
    line-height: 70px;
    font-style: normal;
    font-weight: bold;
    position: absolute;
    left: -10px;
    top: -8px;
}
.blockquote.border-full:before{
  content: '';
  display: block;
  width: calc(100% - 30px);
  height: 1px;
  border-top:1px solid;
  border-color: inherit;
  position: absolute;
  top: 0;
  right: 0;
}
.blockquote.border-full:after{
  content: '';
  display: block;
  height: calc(100% - 30px);
  width: 1px;
  border-left:1px solid;
  border-color: inherit;
  position: absolute;
  bottom: 0;
  left: 0;
}
.blockquote.border-side blockquote {
  border-left: 5px solid;
  margin: 35px;
  padding:0 0 0 35px;
  position: relative;
  border-color: inherit;
}
.blockquote.border-side{margin: 0;}
.blockquote blockquote cite{
    width: 100%;
    text-align: right;
    font-size: 0.7em;
}
/*-----------------------------------------------------------------------------------*/
/*  Post Title
/*-----------------------------------------------------------------------------------*/

.post-meta.has-color .entry-details, .post-meta.has-color h1{ color: inherit; }
.post-meta h1{
  margin-bottom: 10px;
  display: inline-block;
}
.post-meta .postdate{
  padding-left: 11px;
  margin-left: 9px;
  position: relative;

}
.post-meta .postdate:before{
  content: "";
  border-left: 1px solid;
  display: inline-block;
  height: 10px;
  left: 0;
  margin-top: -5px;
  opacity: 0.6;
  position: absolute;
  top: 50%;
  width: 1px;
}
.post-meta.voxco-content-element{margin-bottom: 15px;}
div > .post-meta.voxco-content-element:last-child{margin-bottom: 0px;}
.align-left{text-align: left;}
.align-right{text-align: right;}
.align-center{text-align: center;}

/*-----------------------------------------------------------------------------------*/
/*  Team Styles
/*-----------------------------------------------------------------------------------*/

.team-member{
  position: relative;
  background-size: cover;
  background-position: center center;
  
}
.team-member img{
  width: 100%;
  height: auto;
  display: none;
  opacity: 0;

}
.team-member figcaption{
  padding: 40px;
  opacity: 0;
  word-wrap:break-word;
  transform:scale(0);
  -webkit-transform:scale(0);
  transition: transform 0.3s, opacity 0.3s ;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
}
.team-member:hover figcaption{
  opacity: 1;
  transform:scale(1);
  -webkit-transform:scale(1);
}
.team-member h2, .team-info h2{ margin:0; }
.team-member p, .team-info p{ margin-top:0.8em; }
.team-networks{
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  text-align: right;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 40px;
}
.team-networks li{
  display: inline-block;
  width: 30px;
}
.team-networks li a{
  color: inherit;
  opacity: 0.7;
  transition:all 0.1s ease;
  -webkit-transition:all 0.1s ease;
}
.team-networks li a:hover{
  opacity: 1;
}
.info-below-image .team-networks{
  text-align: center;
  bottom: 50%;
  padding: 0px 15px;
  transform:translateY(50%);
  -webkit-transform:translateY(50%);
}
.team-info{padding: 30px 0px 15px 0px;}

/*-----------------------------------------------------------------------------------*/
/*  Counter Styles
/*-----------------------------------------------------------------------------------*/
.counter{
  width: 100%;
  text-align: center;
  position: relative;
}
.counter-details{
  display: block;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  transform:translateY(-50%); 
  -webkit-transform:translateY(-50%); 
}
.counter-style-two .counter-details{ 
  position:relative;
   transform:translateY(-0%); 
  -webkit-transform:translateY(-0%); 
}
.counter-style-two .counter-count{ margin-bottom: 0; }
.counter-count{line-height: 80%;}

/*-----------------------------------------------------------------------------------*/
/*  Drop Cap Styles
/*-----------------------------------------------------------------------------------*/

.drop-cap-flat > p:first-child:first-letter, .drop-cap-outline > p:first-child:first-letter, .drop-cap-minimal > p:first-child:first-letter{
  padding:0.4em 0.6em;
  color: #ffffff;
  float: left;
  line-height: 0.7;
  margin: 8px 15px 0 0;
  text-indent: 0;
}
.drop-cap-flat > p:first-child:first-letter{
  background:#1c1c1c;
}
.drop-cap-outline > p:first-child:first-letter{
  background:transparent;
  border:2px solid #1c1c1c;
  color:#1c1c1c;
}
.drop-cap-minimal > p:first-child:first-letter{
  background:transparent;
  color:#1c1c1c;
}
.drop-cap-minimal > p:first-child:after, .drop-cap-outline > p:first-child:after, .drop-cap-flat > p:first-child:after{
  content:'';
  display:table;
  clear:both;
  zoom:1;
}
/*-----------------------------------------------------------------------------------*/
/*  Google Map Styles
/*-----------------------------------------------------------------------------------*/
/*.has-gmap .vc_column-inner > .wpb_wrapper{
  height: 100%;
}*/
.googlemap { 
  height: 350px;
  width: 100%;
  position: relative; 
  max-width: inherit;
  float: left;
  z-index: 0;
}
.googlemap.full-height{
  height: 100%;
}
.googlemap .map_canvas { 
  width: 100%; 
  height: 100%; 
}
.googlemap .map_canvas h3 { 
  margin: 0 0 10px; font-size: 14px; 
}
.map_canvas img { 
  max-width: none !important 
}
.no-js .map_canvas{
  background: #efefef;
}

/*-----------------------------------------------------------------------------------*/
/*  Social Networks Styles
/*-----------------------------------------------------------------------------------*/

.social-networks{
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.wpb_wrapper .social-networks{margin-bottom: 35px;}
.social-networks li{
  display: inline-block;
  width: 50px;
  height: 17px;
  line-height: 17px;
  border-left: 1px solid;
  text-align: center;
}
.social-networks li:first-child{border-left: none;}
.social-networks li a{
  opacity: 0.8;
  transition:all 0.1s ease;
  -webkit-transition:all 0.1s ease;
}
.wpb_wrapper .social-networks li a{ color: inherit; }
.social-networks li a:hover{ opacity: 1; }

/*-----------------------------------------------------------------------------------*/
/*  Hover Image
/*-----------------------------------------------------------------------------------*/

.hover-image{
  position: relative;
  background-size: cover;
  background-position: center center;
}
.hover-image img{
  display: none;
  width: 100%;
  height: auto;
}
.hover-image figure{padding: 15px;}
.hover-image figcaption{
  opacity: 0;
  overflow: hidden;
  transform:scale(0);
  -webkit-transform:scale(0);
  transition: transform 0.3s, opacity 0.3s ;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
}
.hover-image figcaption div{
  position: relative;
  padding:40px;
  transform:translateY(-50%);
  -webkit-transform:translateY(-50%);
}
.a-center .hover-image figcaption div{
  top: 50%;
  -webkit-transform:translateY(-50%);
  transform:translateY(-50%);
}
.a-bottom .hover-image figcaption div{
  top: 100%;
  -webkit-transform:translateY(-100%);
  transform:translateY(-100%);
}
.hover-image:hover figcaption{
  opacity: 1;
  transform:scale(1);
  -webkit-transform:scale(1);
}


/*-----------------------------------------------------------------------------------*/
/*  Pricing Table
/*-----------------------------------------------------------------------------------*/

.pricing-table{ border: 1px solid; }
.pricing-table ul{
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}
.pricing-header{
  text-align: center;
  line-height: 1;
}
.pricing-header i, .pricing-header > span{
  display: block;
  margin-bottom: 0.5em;
}
.pricing-table .cost{
  margin-bottom: 0;
  color: #CCC;
}
.pricing-content, .pricing-header{ padding: 30px;}
.pricing-content li:first-child{
  border-top: 1px solid;
  border-color: inherit;
}
.pricing-content li{
  border-bottom: 1px solid;
  border-color: inherit;
  line-height: 40px;
}
.pricing-table .button{
  width: 100%;
  text-align: center;
  padding: 5px;
}
.pricing-table .button:hover{ background: rgba(255,255,255,0) !important;}
.pricing-table .button span:first-child, .pricing-table .button:hover span:last-child{display: none;}
.pricing-table .button:hover span:first-child{display: block;}
.pricing-table h2{margin-bottom:0;}
.pricing-header span {margin-top:0.5em;}
/*-----------------------------------------------------------------------------------*/
/*  Portfolio
/*-----------------------------------------------------------------------------------*/

.portfolioinner.portfolio-shortcode{margin-bottom: 0;}


/* ==========================================================================
   Owl Carousel
   ========================================================================== */
  /* 
 *  Core Owl Carousel CSS File
 *  v1.3.3
 */

.owl-carousel .owl-wrapper:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel,.owl-carousel .owl-wrapper{display:none;position:relative}.owl-carousel{width:100%;-ms-touch-action:pan-y}.owl-carousel .owl-wrapper-outer{overflow:hidden;position:relative;width:100%}.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition:height .5s ease-in-out;-moz-transition:height .5s ease-in-out;-ms-transition:height .5s ease-in-out;-o-transition:height .5s ease-in-out;transition:height .5s ease-in-out}.owl-carousel .owl-item{float:left}.owl-controls .owl-buttons div,.owl-controls .owl-page{cursor:pointer}.owl-controls{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.grabbing{cursor:url(images/grabbing.png) 8 8,move}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel:hover{cursor: move; cursor: grab; cursor: -moz-grab; cursor: -webkit-grab;}.owl-carousel .item img{min-width:100%;height:auto;display:block}.owl-theme .owl-controls{position:absolute;text-align:center;bottom:0;width:100%}.owl-theme .owl-controls .owl-buttons div{color:#FFF;display:inline-block;zoom:1;margin:5px;padding:3px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px;background:#869791;filter:Alpha(Opacity=50);opacity:.5}.owl-theme .owl-controls.clickable .owl-buttons div:hover{filter:Alpha(Opacity=100);opacity:1;text-decoration:none}.owl-theme .owl-controls .owl-page{display:inline-block;zoom:1}.owl-theme .owl-controls .owl-page span{display:block;width:12px;height:12px;margin:5px 7px;filter:Alpha(Opacity=50);opacity:.5;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;background:#869791}.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span{filter:Alpha(Opacity=100);opacity:1}.owl-theme .owl-controls .owl-page span.owl-numbers{height:auto;width:auto;color:#FFF;padding:2px 10px;font-size:12px;-webkit-border-radius:30px;-moz-border-radius:30px;border-radius:30px}.owl-item.loading{min-height:150px;background:url(images/loader.gif) center center no-repeat}


.owl-theme .owl-controls .owl-page span{
   border-radius: 0px;
}
.owl-theme .owl-controls .owl-page span{
  border: 1px solid #1d1d1d;
  background: transparent;
}
.owl-theme .owl-controls{
  bottom: 20px;
}
.owl-item {height: 100%;}
.owl-item .item{ height: 100%; }


/* ==========================================================================
   Media query for iPad and tablets landscape
   ========================================================================== */

@media only screen and (max-width: 1024px){

  .layout-side-header .align-left, .layout-side-header  .align-right, .layout-side-header  .align-center{text-align: center;}
  .gallery-item.p3{width: 50%;}
  .gallery-item.p12{width: 100%;}
  .gallery-item.p6{width: 100%;}
  .gallery-item.p8{width: 100%;}
  .gallery-item.p9{width: 100%;}
  .layout-side-header .wpb_wrapper[data-mobile-align="center"], .layout-side-header .wpb_wrapper[data-mobile-align="center"] > * { text-align: center !important; }
  .layout-side-header .wpb_wrapper[data-mobile-align="left"], .layout-side-header .wpb_wrapper[data-mobile-align="left"] > * { text-align: left !important; }
  .layout-side-header .wpb_wrapper[data-mobile-align="right"],  .layout-side-header .wpb_wrapper[data-mobile-align="right"] > *{ text-align: right !important;}
  
}
@media only screen and (max-width: 768px){
  .layout-standard-header .wpb_wrapper[data-mobile-align="center"], .layout-standard-header .wpb_wrapper[data-mobile-align="center"] > * { text-align: center !important; }
  .layout-standard-header .wpb_wrapper[data-mobile-align="left"], .layout-standard-header .wpb_wrapper[data-mobile-align="left"] > * { text-align: left !important; }
  .layout-standard-header .wpb_wrapper[data-mobile-align="right"], .layout-standard-header .wpb_wrapper[data-mobile-align="right"] > *{ text-align: right !important;}
  .layout-standard-header .align-left, .layout-standard-header  .align-right, .layout-standard-header  .align-center{text-align: center;}
  .gallery-item.p3{width: 100%;}
  .gallery-item.p4{width: 100%;}
  .mfp-close-btn-in .mfp-close {
    top: 10px;
    right: 10px;
  }
  .mfp-arrow-right{right: 0px;}
  .mfp-arrow-left{left: 0px;}
}


@media only screen and (max-width: 568px){
  .auto .blockquote, * + .blockquote, .blockquote{margin: 0;}
}