/*
Theme Name: MM Stav BB
Theme URI: http://bootstrapwp.com
Author: web-in
Author URI: http://bootstrapwp.com
Description: Awesome Bootstrap WordPress theme
Version: 3.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bootstrapwp
Domain Path: /languages/
Tags: bootstrap, responsive, wordpress, left-sidebar, contact

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 bootstrapwp is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

7.0 - Alignments
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
	12.1 - Captions
	12.2 - Galleries
--------------------------------------------------------------*/

/* ==========================================================================
   Base Styles and Bootstrap Modifications
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;700&display=swap');

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #f2c2c9;
    color: #a4003a;
    text-shadow: none;
}

::selection {
    background: #16a085;
    color: #a4003a;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

 img {
    vertical-align: middle;
}

/*
 * Allow only vertical resizing of textareas.
 */

 textarea {
    resize: vertical;
}


span.right {
 float:right;
 width:40%;
 padding:0 0 10px 10px;
}

span.right img {
   width:100%;
}

/* BLOG */ 

.page-template-template-blog #secondary {
  padding:20px;
}

.page-template-template-blog .entry-content img {
  width: 100%; 
  height: auto;
}


.page-template-template-blog #secondary ul li a, .single-post #secondary ul li a {
    display: inline-flex;
    padding: 10px;
}

.post-date {
	text-transform: none !important;
}

.category #secondary ul li a {
    display: inline-flex !important;
    padding: 10px;
}

.category .entry-content img, .single-post .entry-content img {
  width: 100%;
  height: auto !important;
}
.category  .byline, .single-post .byline  {
    display:none!important;
}



.bs-slider{
    overflow: hidden;
    max-height: 700px;
    position: relative;
    background: #000000;
}
.bs-slider:hover {
    cursor: -moz-grab;
    cursor: -webkit-grab;
}
.bs-slider:active {
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}
.bs-slider .bs-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.40);
}
.bs-slider > .carousel-inner > .item > img,
.bs-slider > .carousel-inner > .item > a > img {
    margin: auto;
    width: 100% !important;
}

/* ==========================================================================
*****Slider
   ========================================================================== */
   
   .slide img.bg {
    width:100%;
    opacity: .6;
          transition: all .8s linear;
   -o-transition: all .8s linear;
   -moz-transition: all .8s linear;
   -webkit-transition: all .8s linear;
   }
   
    .slide img.bg:hover {
    width:100%;
    opacity: .6;

   }
   

   
   .slide {
   text-align: center;
       position:relative;
           overflow: hidden;
             transition: all 1.5s linear;
   -o-transition: all 5.5s linear;
   -moz-transition: all 5.5s linear;
   -webkit-transition: all 5.5s linear;
   }
   
   .slide:hover img {

}
  .slide h2 {
    width: 100%;
    position: relative;
    text-align: center;
    font-size: 3vw;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700!important;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 1.0);
}
   
      
   .slide h2.text {
       width:100%;
    font-size:2vw;
        text-align:center;
    color:#fff;
    text-transform:uppercase;
    font-weight:400!important;
        text-shadow:1px 1px 0px rgba(0, 0, 0, 1.0);
   } 
   
    .slide a {
    position:relative;
    color:#fff;
     width:200px;
     display:block;
    text-transform:uppercase;
     padding:10px; 
     background:rgba(0, 136, 170, 0.3);
     border:1px solid rgba(255, 255, 255, 0.5);
     top:20px;
     margin:0 auto;
    }
    
    .slide a:hover {
    color:#fff;
     background:rgba(0, 136, 170, 0.8);
     border:1px solid rgba(255, 255, 255, 0.5);

    }
   
   .jssora22l {
       position:absolute; 
       top: 55%;
       font-size: 30px;             
       left:8px;
       width:40px;
       height:58px;
       color:#fff; 

       cursor: pointer;
         transition: all .2s linear;
   -o-transition: all .2s linear;
   -moz-transition: all .2s linear;
   -webkit-transition: all .2s linear;
   opacity:.5;
   }
   
     .jssora22l:hover {
     left:18px;
      color:#fff;
         opacity:1;  
           -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
   }
   
     .jssora22r:hover {
     right:18px;
      color:#fff;
         opacity:1;  
           -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
   }
   
   .jssora22r {
       position:absolute;
       top: 55%;
       right:8px;
       width:40px;
       height:58px;
       color:#000;
             color:#fff; 

              font-size: 30px;
              cursor: pointer;
             transition: all .2s linear;
   -o-transition: all .2s linear;
   -moz-transition: all .2s linear;
   -webkit-transition: all .2s linear;
      opacity:.5;
   }
   
   .jssorb05 {
   position:absolute;
   z-index: 1100000;
   }

/********************
*****Slide effect
**********************/

.fade {
    opacity: 1;
}
.fade .item {
    top: 0;
    z-index: 1;
    opacity: 0;
    width: 100%;
    position: absolute;
    left: 0 !important;
    display: block !important;
    -webkit-transition: opacity ease-in-out 1s;
    -moz-transition: opacity ease-in-out 1s;
    -ms-transition: opacity ease-in-out 1s;
    -o-transition: opacity ease-in-out 1s;
    transition: opacity ease-in-out 1s;
}
.fade .item:first-child {
    top: auto;
    position: relative;
}
.fade .item.active {
    opacity: 1;
    z-index: 2;
    -webkit-transition: opacity ease-in-out 1s;
    -moz-transition: opacity ease-in-out 1s;
    -ms-transition: opacity ease-in-out 1s;
    -o-transition: opacity ease-in-out 1s;
    transition: opacity ease-in-out 1s;
}






/*---------- LEFT/RIGHT ROUND CONTROL ----------*/
.control-round .carousel-control {
    top: 47%;
    opacity: 0;
    width: 45px;
    height: 45px;
    z-index: 100;
    color: #ffffff;
    display: block;
    font-size: 24px;
    cursor: pointer;
    overflow: hidden;
    line-height: 43px;
    text-shadow: none;
    position: absolute;
    font-weight: normal;
    background: transparent;
    -webkit-border-radius: 100px;
    border-radius: 100px;
}
.control-round:hover .carousel-control{
    opacity: 1;
}
.control-round .carousel-control.left {
    left: 1%;
}
.control-round .carousel-control.right {
    right: 1%;
}
.control-round .carousel-control.left:hover,
.control-round .carousel-control.right:hover{
    color: #fdfdfd;
    background: rgba(0, 0, 0, 0.5);
    border: 0px transparent;
}
.control-round .carousel-control.left>span:nth-child(1){
    left: 45%;
}
.control-round .carousel-control.right>span:nth-child(1){
    right: 45%;
}





/*---------- INDICATORS CONTROL ----------*/
.indicators-line > .carousel-indicators{
    right: 45%;
    bottom: 3%;
    left: auto;
    width: 90%;
    height: 20px;
    font-size: 0;
    overflow-x: auto;
    text-align: right;
    overflow-y: hidden;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 1px;
    white-space: nowrap;
}
.indicators-line > .carousel-indicators li{
    padding: 0;
    width: 15px;
    height: 15px;
    border: 1px solid rgb(158, 158, 158);
    text-indent: 0;
    overflow: hidden;
    text-align: left;
    position: relative;
    letter-spacing: 1px;
    background: rgb(158, 158, 158);
    -webkit-font-smoothing: antialiased;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    margin-right: 5px;
    -webkit-transition: all 0.5s cubic-bezier(0.22,0.81,0.01,0.99);
    transition: all 0.5s cubic-bezier(0.22,0.81,0.01,0.99);
    z-index: 10;
    cursor:pointer;
}
.indicators-line > .carousel-indicators li:last-child{
    margin-right: 0;
}
.indicators-line > .carousel-indicators .active{
    margin: 1px 5px 1px 1px;
    box-shadow: 0 0 0 2px #fff;
    background-color: transparent;
    position: relative;
    -webkit-transition: box-shadow 0.3s ease;
    -moz-transition: box-shadow 0.3s ease;
    -o-transition: box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;

}
.indicators-line > .carousel-indicators .active:before{
    transform: scale(0.5);
    background-color: #fff;
    content:"";
    position: absolute;
    left:-1px;
    top:-1px;
    width:15px;
    height: 15px;
    border-radius: 50%;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}



/*---------- SLIDE CAPTION ----------*/
.slide_style_left {
    text-align: left !important;
}
.slide_style_right {
    text-align: right !important;
}
.slide_style_center {
    text-align: center !important;
}

.slide-text {
    left: 0;
    top: 25%;
    right: 0;
    margin: auto;
    padding: 10px;
    position: absolute;
    text-align: left;
    padding: 10px 85px;
    
}

.slide-text > h1 {
    
    padding: 0;
    color: #ffffff;
    font-size: 70px;
    font-style: normal;
    line-height: 84px;
    margin-bottom: 30px;
    letter-spacing: 1px;
    display: inline-block;
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
}
.slide-text > p {
    padding: 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 24px;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 1px;
    -webkit-animation-delay: 1.1s;
    animation-delay: 1.1s;
}
.slide-text > a.btn-default{
    color: #000;
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    margin-right: 10px;
    text-align: center;
    padding: 17px 30px;
    white-space: nowrap;
    letter-spacing: 1px;
    display: inline-block;
    border: none;
    text-transform: uppercase;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;

}
.slide-text > a.btn-primary{
    color: #ffffff;
    cursor: pointer;
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    margin-left: 10px;
    text-align: center;
    padding: 17px 30px;
    white-space: nowrap;
    letter-spacing: 1px;
    background: #0088aa;
    border-radius:0;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}
.slide-text > a:hover,
.slide-text > a:active {
    color: #ffffff;
    background: #222222;
    -webkit-transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
    transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
}






/*------------------------------------------------------*/
/* RESPONSIVE
/*------------------------------------------------------*/

@media (max-width: 991px) {
    .slide-text h1 {
        font-size: 40px;
        line-height: 50px;
        margin-bottom: 20px;
    }
    .slide-text > p {

        font-size: 18px;
    }
}


/*---------- MEDIA 480px ----------*/
@media  (max-width: 768px) {
    .slide-text {
        padding: 10px 50px;
    }
    .slide-text h1 {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 10px;
    }
    .slide-text > p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }
    .control-round .carousel-control{
        display: none;
    }

}
@media  (max-width: 480px) {
    .slide-text {
        padding: 10px 30px;
    }
    .slide-text h1 {
        font-size: 20px;
        line-height: 25px;
        margin-bottom: 5px;
    }
    .slide-text > p {
        font-size: 12px;
        line-height: 18px;
        margin-bottom: 10px;
    }
    .slide-text > a.btn-default, 
    .slide-text > a.btn-primary {
        font-size: 10px;
        line-height: 10px;
        margin-right: 10px;
        text-align: center;
        padding: 10px 15px;
    }
    .indicators-line > .carousel-indicators{
        display: none;
    }

}



/* ==========================================================================
   General styles
   ========================================================================== */

html,
body {
    height: 100%;
}

body {
    font-family: 'Titillium Web', sans-serif;

    font-weight: 300;
    font-size: 16px;
    color: #555;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}     


.navbar-inverse {
 
    background-image: url(/wp-content/uploads/2016/11/sticky_back.png); 
        background: rgba(255, 255, 255, 0.8); 
    border:none;
    margin:0px 0 0 0;
    box-shadow:5px 5px 5px rgba(0, 0, 0, 0.2);          
    z-index: 10001;
}



.admin-bar .top_line {
   top:0px;
}

.top_line {
    width: 100%;
    height: 30px;
    position: relative;
    top:0px;
    margin: -5px 0 0px 0;
    background:#000;
    background-repeat: repeat-x;
    right: 0px;
    z-index: 1000;
}

#sticky-anchor  {
   margin-top:30px;
   margin-bottom:10px;
}


#sticky {
  width:100%;                                                                                                                                                
  height:55px;
  float:left;
  position:relative; 
  padding:0;
  margin:50px 0 0 0;   
 

  color: #666;
    z-index: 100000;


}

#sticky.stick {
  position: fixed;
  top: 0px;
  z-index: 10000;
   -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;

}


.navbar-default {
border-color: transparent;
background-color: #dadada;
}


.navbar-toggle {
border-color: transparent;
border: 0px solid transparent;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	background-color: #16a085;
	color: white;
}    

a.navbar-brand {
    font-size: 18px;
    display:block;
}

a.navbar-brand img {
   width:230px;
}
   


a.navbar-brand:hover {
    color: #fff;
}

hr {
    position: relative;
    border: none;
}

hr:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 2px;
    background: #ccc;
}

a img {
    background: none;
}

.odd a img {
    background: #f5f5f5;
}

/* ==========================================================================
   line top
   ========================================================================== */
   
.linetop {
  top:0px;
  width:100%;
  background:#0088aa;
  color:#fff;
  margin:-7px 0 7px 0;
  line-height:30px;
  
}

.linetop i {
  color:#333;
  
}

.linetop span.phone {
  margin-right:10px;
  letter-spacing: 0;
  
}

.linetop a {
  color:#fff;
  
}

.linetop a:hover {
  color:#333;
  
}


.top-line-collapse  {
   margin-top:-37px;
}


/* ==========================================================================
   new menu
   ========================================================================== */
   
.admin-bar  .navbar-fixed-top {
    top: 30px;

} 
.navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
}



.navbar {
    padding: 5px 0;
    border-bottom: 0;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.9);
    border-top: 0px solid #0063ab;
    border-bottom: 0px solid rgba(246,59,57,1.0);
    box-shadow: 0px 2px 2px rgba(0,0,0,.1);
    -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
    -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
    transition: background .5s ease-in-out,padding .5s ease-in-out;
}

.top-nav-collapse {
    padding: 0;
    background-color: #fff;
}

.navbar-custom.top-nav-collapse {
      background:rgba(255, 255, 255, 0.9)
          padding: 0px 0;
}


.navbar img.logo {width:150px; margin-top:-7px;}


.navbar-custom.top-nav-collapse img.logo {
   width:140px; 
   margin-top:-7px;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
   } 
   
   



.navbar-brand {
    font-weight: 700;
}
.navbar-brand {
  height: 40px;
  padding: 5px 15px;

  line-height: 1em;
}

.navbar-brand h1{
  color: #494747;
 
	padding:0px 0 0 0; 
	background: rgba(92,192,224,.0);

  font-weight: 800;
  font-size: 35px;


}

.navbar-brand h1 span.green {
  color: #79bf34;

}


.navbar-brand h1 span.grey{
   color:#ccc


}

.navbar-brand h1 span.small{
   font-size: 15px;
   color:#fff

}



.navbar-brand:focus {
    outline: 0;
}

.nav.navbar-nav {
    background-color: rgba(255,255,255,.0);
}

.navbar-custom.top-nav-collapse .nav.navbar-nav {
    background-color: rgba(0,0,0,0.0);
}


.navbar-custom ul.nav li a {
    font-size: 12px;
    letter-spacing: 0px;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    text-transform: uppercase;
    font-weight: 400;
    padding: 15px 10px !important;
}


.navbar-custom ul.nav li.lang a {
	font-size: 12px;
	
}



/* PAGER */

.pager li>a, .pager li>span {
    display: inline-block;
    padding: 5px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0px!important; 
}


.page-template-template-blog .byline {

  display:none !important;
}

.navbar-custom ul.nav li a.select {
	font-size: 12px;
	letter-spacing: 0px;
	font-family: 'Open Sans', sans-serif;
    color: #fff;
	text-transform: uppercase;
	font-weight: 400;
	background:#ccc;
}

.navbar-custom.top-nav-collapse ul.nav li a.select {
    color: #fff;

}

.navbar-custom ul.nav li a:hover {
	background:rgba(255, 255, 255, .5);
  color:#000;
}

.navbar-custom.top-nav-collapse ul.nav li a {
	    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
	color: #333;
	
}


.navbar-custom ul.nav ul.dropdown-menu {
	  border-radius: 0;	
}

.navbar-custom ul.nav ul.dropdown-menu li {
	border-bottom: 1px solid #f5f5f5;

}

.navbar-custom ul.nav ul.dropdown-menu li:last-child{
	border-bottom: none;
}

.navbar-custom ul.nav ul.dropdown-menu li a {
	padding: 10px 20px;
}

.navbar-custom ul.nav ul.dropdown-menu li a:hover {
	background: rgba(255; 255; 255; .5);
  color:#000;
}

.navbar-custom.top-nav-collapse ul.nav ul.dropdown-menu li a {
	color: #666;
}

.navbar-custom .nav li a {
      	color: #000;
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.navbar-custom .nav li a i {

    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}

.navbar-custom .nav li a i.fa-facebook {
      	color: #0063ab;
    -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}



.navbar-custom .nav li.active a{

}

.navbar-custom .nav li.active a i{
   color:#fff;
}


                                             
.navbar-toggle {
    padding: 4px 6px;
    font-size: 14px;

}

.navbar-toggle:focus,
.navbar-toggle:active {
    outline:0; 

}



.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #eee;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 0px solid #ccc; 
    border: 0px solid rgba(0,0,0,.15); 
    border-radius: 0px;
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,.175);

   }


/* SIDEBAR MENU */

#menu-rice_submenu  li, #menu-pulses_submenu  li , #menu-gourmet_submenu  li  {
  width:100%;
  margin-bottom:2px;

}

#menu-rice_submenu  li a, #menu-pulses_submenu  li a, #menu-gourmet_submenu  li a {
  display:block;
  background:  #eee;
  color:#333;
    padding:10px;
}

#menu-rice_submenu  li:hover a, #menu-pulses_submenu  li:hover a, #menu-gourmet_submenu  li:hover a {

  background:  #333;
  color:#fff;
    padding:10px;
    
     -webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}





li.current-menu-item  a {
     background: rgba(0,136,170,1.0)!important;
     color:#fff!important;

}


.custom-menu-top   {
 float:right;
 height:30px;

}


#menu-top ul {

    list-style-type: none;
    list-style: none;
    list-style-image: none;
}

#menu-top li {
    padding: 0px;
    display: inline;
}



/* Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 300;
    color: #333;
}


h2.main {
    margin-top:-28px;
    font-size:25px;
    display:block;
    text-transform: uppercase;
    padding:15px;
    background: #0088aa;
    background-image: url(/wp-content/uploads/2017/04/back.png);
    color: #fff;
    
    }

/* Paragraph & Typographic */
p {
    line-height: 28px;
}

.centered {
    text-align: center;
}

.paragraph-lead {
    font-size: 20px;
    color: #3498db;
}

strong {
    font-weight: 700;
}

em {
    font-weight: 300;
}

pre {
    background: #ebebeb;
    border: none;
    font-family: "Monaco";
    font-size: 16px;
    color: #666;
    padding: 20px;
    line-height: 28px;
}

small {
    font-size: 12px;
}

blockquote,
blockquote p {
    line-height: 28px;
    color: #999;
    font-weight: 300;
    font-style: italic;
}

blockquote {
    position: relative;
    margin: 0 0 40px -30px;
    padding-left: 30px;
    border-left: 5px solid #3498db;
}

blockquote cite {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 12px;
    font-style: italic;
    color: #333;
    font-weight: 300;
}

blockquote cite:before {
    content: "-- "
}





/* Images */
.overflow-image {
    margin-top: -65px;
}


/* margins */
.margintop-10 {margin-top:10px;}
.margintop-20 {margin-top:20px;}
.margintop-30 {margin-top:30px;}
.margintop-40 {margin-top:40px;}
.margintop-50 {margin-top:50px;}
.margintop-60 {margin-top:60px;}
.margintop-70 {margin-top:70px;}
.margintop-80 {margin-top:80px;}
.margintop-90 {margin-top:90px;}



/* Links */
a {
    color: #3498db;
    word-wrap: break-word;

    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #c0392b;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}



/* ==========================================================================
   Wrap Sections
   ========================================================================== */

.wrap-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.wrap-section hr {
    margin-bottom: 40px;
}

.headerwrap {
	background: url(images/header_bg.jpg) no-repeat center top;
	margin-top: -20px;
	padding-top:100px;
	text-align:center;
   background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
	min-height: 650px;
	width: 100%;
	
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
   

.headerwrap h1 {
	color:#ffffff;
	margin-top: 90px;
	padding-bottom: 30px;
	letter-spacing: 8px;
	font-size: 80px;
	font-weight: bold;
	text-shadow: 2px 2px 2px #000;
}

.headerwrap p {
	color:#ffffff;
	font-size: 30px;
	font-weight: 400;
	text-align: center;
	line-height: 40px;
	letter-spacing: 3px;
	margin-left: 15px;
	text-shadow: 1px 1px 1px #000;
}



.greenwrap {
	background: rgba(0,136,170,1.0);
	margin-top: 0px;
	padding-top: 30px;
	border-bottom: 0px solid #ddd;
	text-align: center;
}

.greywrap {
	background: #f5f5f5;
	margin-top: 0px;
	padding-top: 60px;
 	padding-bottom: 60px;
	border-bottom: 1px solid #ddd;
	text-align: center;
}

.greywrap .callout {
	margin-bottom: 20px;
}

.greywrap p {
	margin-left: 30px;
	margin-right: 30px;
	letter-spacing: 1px;
	padding-top: 15px;
	padding-bottom: 15px;
}

.greywrap .fa {
	font-size: 60px;
	line-height: 30px;
	margin-bottom: 10px;
}

.social {
 background:#eee;
 height:50px;
 padding-top:10px;
 font-size:20px;
}

.footer-columns {
    background: #000;
    color:#eee;
    border-top: 0px solid #ddd;
}


.footer-columns a {
       text-transform: uppercase;
 color: #eee;

}
.footer-columns a:hover {
    color: #0088aa;

}


.footer-columns i {

}


.footer-columns h3 {
    font-size: 20px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 400;
    margin-top: 40px;
    width: 100%;
    padding: 10px 0;
    border-bottom: 5px solid rgba(204, 204, 204, 0.1);
}


.footerwrap {
	background: #eee;
	margin-top: 0px;
  color:#333;
	padding-top: 10px;
	padding-bottom: 0px;
	border-bottom: 0px solid #ddd;

}

.footerwrap a {
	color:#333;
}

.footerwrap a:hover {
	color:#a1d22b;
}

.footerwrap h4 {
	color: #999;
  font-size:14px ;
}


        span.social {
         padding: 10px;
         font-size:20px;
         color:#333;
        }
        
     .footerwrap  span.social i {

         font-size:25px;
        }
        
       .footerwrap  span.skype {
                  font-size:30px;
        }
        
        .footerwrap span.facebook a:hover  {
         color:#01016d;
        }
        
        .footerwrap  span.google a:hover  {
         color:#d00707;
        }
        
        .footerwrap  span.skype a:hover  {
         color:#00adfd;
        }

/* ==========================================================================
   Box Sections
   ========================================================================== */

/* Section Dividers */
.section-divider {
    z-index: 999;
    width: 100%;
    display: table;
    max-height: 450px;
    border-bottom: 2px solid #E6EAED;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 30px;
    padding-bottom: 70px;
    margin-top: 45px;


    background-position: center center;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    background-attachment: relative;
    
    text-align: center;
}

.textdivider h1 {
	padding-top: 70px;
	color: white;
	font-size: 40px;
}

.textdivider p {
	color: white;
	font-size: 25px;
}


/* Section Dividers Backgrounds */

.divider1 {
	background-image: url('images/bg/divider1.jpg')
}

.divider2 {
	background-image: url('images/bg/divider2.jpg')
}

.divider3 {
	background-image: url('images/bg/divider3.jpg');
	margin-top: 0px;
}

.divider4 {
	background-image: url('images/bg/divider4.jpg')
}

.divider6 {
	background-image: url('images/bg/divider6.jpg')
}

/* ==========================================================================
   Services
   ========================================================================== */
   
   .services {
   padding-top:40px;
}

   .service {
    position:relative; 
    padding:0px;
    width:100%; 
    margin-bottom: 30px;
    background:#eee;
    margin: 2%;
    overflow: hidden;
       border-top:10px solid #eee; 
    
   }
   
   .service img.wp-post-image {
    width:100%;
        opacity:.8;
        bottom:0;  
   transition: all .5s linear;
   -o-transition: all .5s linear;
   -moz-transition: all .5s linear;
   -webkit-transition: all .5s linear;
}

.service:hover img.wp-post-image {
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
          opacity:1;
}

   .service h2 {
    font-weight: 400;
   }  
   
    .service a  {
    display:block;  
    
    }    
    
   .service a h2 {  
    position:relative;
    bottom:0;                     
    border-radius: 0px;
    padding:20px 0;
    border-bottom:10px solid #ccc;
    background: rgba(0,136,170, 0.5)!important;
    font-size:16px;
    margin:0px;
    margin-top:-80px;
    color: #fff;
    text-transform: uppercase;
    width:100%;  
    
   transition: all .5s linear;
   -o-transition: all .5s linear;
   -moz-transition: all .5s linear;
   -webkit-transition: all .5s linear;

   }
   
     .service a:hover h2 {
    background: rgba(0, 0, 0, 0.8)!important;
  
    height:100%;
    color: #fff;

   }   
   

   
   
   
   /*Parallax section*/
#section-1 {
    z-index: 1;
    color: #fff;
    height: 100vh;
}
#section-1 .row {
    position: fixed;
}
/*Parallax background*/
#section-1 .parallax-layer-back {
  /*  background: url("https://mdbootstrap.com/img/Photos/Horizontal/Nature/12-col/img%20(2).jpg")no-repeat center center;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
/*Section with dummy content*/
#section-2 {
    z-index: 2;
    position: relative;
    background: #fff;
    width: 100%;
}

/* ==========================================================================
   Portfolio
   ========================================================================== */

.portfolio-featured {
    margin-bottom: 20px;
}

.portfolio-items {
   padding-top:40px;
}

/* ==========================================================================
   Product
   ========================================================================== */
   
.product_cat   {
  width:100%;
  /* background:rgba(255, 255, 255, 0.5);
  padding:20px;
  border:1px solid rgba(255, 255, 255, 0.8);
  border-radius: 0px;
  margin-bottom:30px;    */
}

.product_cat img {
   border-radius: 0px;
   border:5px #fff solid;
   width:70%;
       border-radius: 300px;

}

.product_cat h2:hover  {
  text-transform: uppercase;
  width:80%;
  margin:20px auto;
  background:rgba(0, 0, 0, 0.7);
  padding:20px 0;  
   margin-bottom:20px;
  font-size:25px ; 
   border-radius: 0px;
   -webkit-transition: color 0.1s ease-in, background 0.3s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.3s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.3s ease-in;
    -o-transition: color 0.1s ease-in, background 0.3s ease-in;
    transition: color 0.1s ease-in, background 0.3s ease-in;


}

.product_cat h2 {
  text-transform: uppercase;
  width:80%;
  margin:20px auto;
  color:#fff;
   font-weight: 400;
  background:rgba(0, 0, 0, 0.5);
  padding:20px 0;  
   margin-bottom:20px;
  font-size:25px ; 
   border-radius: 0px;
}

.product_cat .btn {
   border-radius: 0px;
    background: #a1d22b;
    color: #fff;
    text-transform: uppercase;
    width:100%;
    font-size: 15px;

}

.product_cat .btn:hover {
    background: #333;
    color: #fff;
      -webkit-transition: color 0.1s ease-in, background 0.3s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.3s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.3s ease-in;
    -o-transition: color 0.1s ease-in, background 0.3s ease-in;
    transition: color 0.1s ease-in, background 0.3s ease-in;

}






/* ==========================================================================
   motto
   ========================================================================== */
   
   .motto {
    color:#fff;
  
   }
   
      .face {
    width:120px;
    position:relative;
    height:120px;
    margin:0 auto;
    margin-bottom:30px;
   }
   
       .face img {
    width:100%;

   
  
   }
   
    .motto .motto_text {
    width:80%;
    font-size:22px;
    margin:0px auto;
    font-style: italic;
  
   }
   
     .motto {
    color:#fff;
    font-size:22px;
    text-align:left;
   }
   
      .motto p {
    width:100%;
    margin-top:20px;
    text-align:center;  
    color:#333;
    font-size:20px;

   }
   
     .motto i {
    display:block;
    color:#333;
    text-align:center;
    font-size:60px;
    padding-top:0px;
   }
   



/* ==========================================================================
   Image Mask
   ========================================================================== */

.grid {
    padding-bottom: 30px;
}

.grid figure {
	margin: 0;
	position: relative;
}

.grid figure img {
	width: 100%;
	display: block;
	position: relative;
}

.grid img.wp-post-image {
  margin-bottom:0;
}


.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	color: #fff;
	background: #3498db;
}

.grid figcaption h5 {
	margin: 0;
	padding-top: 0px;
	padding-left: 20px;
	padding-bottom: 5px;
	color: #fff;
	font-weight: 700;
	text-align: left;
	letter-spacing: 2px;
	
}

.grid figcaption a {
	text-align: left;
	padding: 5px 10px;
	margin-left: 20px;
	display: inline-block;
	background: #2f2f2f;
	color: #fff;
	font-size: 13px;
}

/* Caption Style */
.mask figure {
	overflow: hidden;
}

.mask figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .mask figure:hover img,
.mask figure.cs-hover img {
	-webkit-transform: translateY(-30px);
	-moz-transform: translateY(-30px);
	-ms-transform: translateY(-30px);
	transform: translateY(-30px);
}

.mask figcaption {
	height: 50px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .mask figure:hover figcaption,
.mask figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.mask figcaption a {
	position: absolute;
	top:10px;
	bottom: 10px;
	right: 30px;
}


/* ==========================================================================
   Blog 
   ========================================================================== */
.post {
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.post-meta {
    margin-bottom: 10px;
}

/* ==========================================================================
   PAGES
   ========================================================================== */

.page-content {
    padding: 40px 0;
}

.pagewrap {
    background:#000;
    margin-top: -30px;
    padding-top:100px;
    text-align:center;
    background-attachment: fixed;
    background-position: center center;
    min-height: 300px;
    width: 100%;
      position: relative;
    z-index: 1;
    border-bottom: 20px #eee solid;


}

.pagewrap .bg {
    position: absolute;
    z-index: -1;
    top: 0; 
    bottom: 0;
    left: 0;
    right: 0;
    opacity: .4;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
        -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.pagewrap h1 {
    color:#ffffff;
    margin-top: 90px;
    padding-bottom: 30px;
    letter-spacing: 0px;
    font-size: 30px!important;
    font-weight: 400;
    text-shadow: 0px 0px 0px #000;
    text-transform: uppercase;
}

.pagewrap p {
    color:#333;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    line-height: 20px;
    letter-spacing: 0px;
    margin-left: 15px;

}


.services .fa {
    font-size: 60px;
    line-height: 30px;
    margin-bottom: 10px;
}

.services .callout {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.services .callout p {
    letter-spacing: 1px;
    padding-top: 15px;
    padding-bottom: 15px;
}



/*--------------------------------------------------------------*/
 #primary, #secondary {
word-break: break-all;
word-break: break-word;
-moz-hyphens: auto;
-ms-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}

 #primary {

 border-top:0px #0088aa solid; 
 border-bottom:0px #0088aa solid;
 margin-top:40px;
 margin-bottom:40px;
 padding-bottom:50px;
 text-align:left;
 }
 
 #primary span   {
  background:none ;
  text-align:left;
 
 } 
 
#primary img {
    padding: 0;
}

 
  #secondary {
 background:rgba(204, 204, 204, 0.0) ;
 border-right:0px dashed #ccc;
 margin-top:40px;
  border-top:0px #0088aa solid;
  padding:0px;
 }
  #secondary ul li {
   border-bottom:1px solid #eee;
   padding:0px;
   background:rgba(204, 204, 204, 0.2) ;
   color:#333;
   text-transform: uppercase;
   margin-top:2px;
  }
  
   #secondary ul li:hover a {
   color:#0088aa;
   
  }
  
   #secondary ul li a {
 
   color:#333;
  }
  
  #secondary ul.sub-menu li {
   border-bottom:1px solid #eee;
   padding:0px;
   background:rgba(204, 204, 204, 0.1) ;
   color:#333;
   text-transform: capitalize;
   margin-top:2px;
  }
  
    #secondary ul.sub-menu li a {

   padding:5px 10px; 
   color:#999;

  }
  
  #secondary ul.sub-menu li  a {
 
  }
  
   #secondary ul.sub-menu li:hover {
        background:rgba(204, 204, 204, 0.3) ;


  }
  
   #secondary ul.sub-menu li:hover a {
      color:#333;


  }
  
  
   #secondary ul li a {
     display:block;
     padding:5px;
   }
 
  #secondary .category_link {
    width: 112%;
    margin-left: -15px;
 }
 
 
 #secondary a.main {
 display:block;
 padding:25px;
 background: rgba(161,210,43,1.0)!important;
   color:#fff;
   text-transform: uppercase;
 }
 
  #secondary a.main:hover {
 background: #333!important;
   color:#fff;

 }
 
  #primary h2 {
    text-align: left;
	border-bottom: 10px solid #ccc;
	padding: 5px;
	font-size: 20px;
	text-transform: uppercase;
	color: #0088aa;
	font-weight: 700;

}


 #primary h4, #secondary h4 {
    width:100%;
    padding:10px;
    margin-top:0px;
    color:#fff;
    background: #0088aa!important;
}

#secondary .qr {
 width:200px;
 height:200px;
 text-align: center;
     background-size: cover;
 /*background-image: url(http://web-in.sk/envipro/wp-content/uploads/2017/04/qr.jpg);*/
}

/*--------------------------------------------------------------
Search
--------------------------------------------------------------*/
.search-highlight {
    background:#FFFF00  
}


/*--------------------------------------------------------------
Footer
--------------------------------------------------------------*/
#colophon {
	margin-top: 5px;
}


.footer-menu {
	margin-left:0;
	padding:0 0 30px 0;
}

.footer-menu li {
	display:inline;
	list-style-type:none;
}

.footer-menu li a {
	border-left:1px solid #ddd;
	padding: 0 8px;
}

.footer-menu > li:first-child > a {
	border-left:none;
	padding:0 8px 0 0;
}

.copyright {
	float: left;
}

.home #colophon {
	margin-top: 0px;
}


/* ===========================
--- Contact
============================ */


.form-group {
  margin-bottom: 20px;
}

 .form-group label {
	text-align: left !important;
	display: block;
	text-transform: uppercase;
	font-size: 16px;
}
 input, select, textarea {
 width:100%;
	font-size: 18px;
  background:#eee;
  padding:10px;
	line-height: 1.6em;
	border: 1px solid #eee;
  -webkit-box-shadow: none;
          box-shadow:  none;
	border-radius: 2px;
  color:#999;
}

input:hover, select:hover, textarea:hover {
   color:#333;
}



 input:focus, select:focus, textarea:focus {
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
          box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
outline: none;
}
.input-group-addon {
  background-color: #fefefe;
  border: 1px solid #eee;
}

.widget-contact {
	text-align: left;
}




input.wpcf7-submit {
    width: 100%;
    background:#0088aa;
    color: #fff!important;
    font-weight: 400;
}



 input.wpcf7-submit:hover{

    background: #333;
    color: #fff!important;
   -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
    -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
    transition: background .5s ease-in-out,padding .5s ease-in-out;
}


/*--------------------------------------------------------------
Post Meta
--------------------------------------------------------------*/

.entry-meta span {
	margin-right: 20px;
	display: inline-block;
}

.entry-meta span:last-child {
	margin-right: 0;
}

.entry-meta span .fa{
	color: #bcbcbc;
}

.entry-meta span a {
	color: #777;
	text-decoration: none;
}

.entry-meta span a:hover {
	text-decoration: underline;
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}


/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget-area {
	margin: 1.5em 0 0;
}

.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

.widget ul {
  list-style: none;
  margin-left: 0px;
      padding: 0;
}


/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
}
.hentry {
	margin: 0 0 1.8em;
	border-bottom: 1px solid #ddd;
	padding-bottom: 1.8em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

img.wp-post-image {
	margin-bottom: 20px;
}

.author-meta {
	margin-top: 40px;
}

.author-meta .avatar {
	border-radius: 50%;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

.comments-title, .comment-reply-title {
	padding-bottom: 9px;
	margin: 40px 0 20px 0;
	border-bottom: 1px solid #eee;
}

ol.comment-list {
	list-style:none;
	padding-left: 0;
}

.comment-author .avatar {
	margin-right: 25px;
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	padding: 4px;
}

.comment-meta {
	margin-top: 20px;
	margin-bottom: 20px;
}

.comment-details {
	overflow: hidden;
	zoom: 1;
	margin-bottom: 25px;
	padding-bottom: 25px;
	border-bottom: 1px solid #ddd;
}

.comment-details .reply {
	margin-top: 10px;
}

.comment-date a {
	font-size: 11px;
	color: #777;
	margin-right: 10px;
}

#commentform #comment {
	width: 100% !important;
}

#commentform #submit {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;

	color: #333;
	background-color: #fff;
	border-color: #ccc;
}

#commentform #submit:hover{
	color: #333;
	background-color: #e6e6e6;
	border-color: #adadad;
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object,
img {
	max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}
.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-caption {}



/*--------------------------------------------------------------
Media Queries 
--------------------------------------------------------------*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {
	
}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
     	.headerwrap h1 {
		font-size: 100px;
	}
	.headerwrap p {
		font-size: 40px;
		line-height: 38px;
	}

    .pagewrap h1 {
        font-size: 70px;
    }
    
    
}



/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

	.copyright {
		float: right;
	}

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}

@media screen and (max-width:1050px), screen and (max-device-width:1050px){
	body .header{background-attachment: scroll;}
}


/*ipad portrait*/
@media only screen and (min-device-width:768px) and (max-device-width : 1024px) and (orientation : portrait){
	.header{background-attachment: scroll;}
}

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

	.copyright {
		float: right;
	}
.container {
    width: 95%;
}

.navbar-custom ul.nav li a {
    font-size: 10px !important;
   padding: 15px 6px !important;

}

}

h2.main {

    box-shadow: 0px 0px 5px rgba(0, 0, 0, 1);
}






