/*

Theme Name: X
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: An immensely powerful and endlessly customizable WordPress theme.
Version: 4.3.4
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: __x__

*/



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

.x-brand{width:100%; text-align:center;}
.masthead-inline .desktop .x-nav {
  display: table;
  float: none;
  width: 100%;
  text-align: center;
}
.masthead-inline .x-navbar .desktop .x-nav > li {
  float:none !important;
  display: inline-table;
}
#top {
  margin-top: 86px;
}
#top .x-container.width {
  width: 96%;
}

}

@media only screen and ( max-width: 979px ) {
.x-brand {
  width: auto;
}
#top {
  margin-top: 0;
}
	
}


@media screen and (max-width: 480px) {
    #home-slider-text .hero h1 {
        font-size: 50px;
    }
    #home-slider-text .hero h2 {
        font-size: 36px;
    }
}
.entry-wrap{padding:30px !important;}

#main2{float: right !important;}
#text-9 iframe {
  border: 0 none;
  position: relative;
  left: -110px;
}
#text-10 iframe {
  border: 0 none;
  position: relative;
  left: -110px;
}
#text-11 iframe {
  border: 0 none;
  position: relative;
  left: -110px;
}
video#bgVideo {
  position: ; // Play the video in full screen mode
  top: 0px; 
  left: 0px; 
  min-width: 100%; 
  min-height: 100%;
  z-index: -1; // Put the video behind all other elements
}
.video-plyaer .x-container.max.width {
    max-width: 1360px;
    width: 100%;
}
@media (max-width: 768px){
.video-plyaer .x-container.max.width {
    width: 100%!important;
}
}
@media (min-width: 769px){
  .mejs-controls {
    display: none!important;
}
}
.video-container {
position: relative;
padding-bottom: 0px;
padding-top: 0px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

iframe#media-first-vdeo
{
margin-top:41px;
}


.page-id-5 .forcefullwidth_wrapper_tp_banner{
display:none;
}

.page-id-5 .x-video.player.with-container {
    display: none;
}
.x-video.player.with-container{
    display: none;
}
table {
    width: 100%!important;
}

img.x-img.water-bound-img.x-img-thumbnail {
    width: 98%;
}
#text-9,
#text-10,
#text-11
{
  text-align: center;
}
#text-9 iframe,
#text-10 iframe,
#text-11 iframe
{
  left: auto;
  width: 200px;
}
    

.page404 {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2%;
}

.page404-font {
    font-family: "Futura Bold","Futura",Georgia,Serif,cursive,monospace,fantasy;
    letter-spacing: 5px!important;
    color: #444;
    padding: 0px;
  text-align: center;
}

a#banner-btn404 {
    font-size: 16px;
    color: white;
    font-weight: 700;
    background-color: #d6b008;
    padding: 15px 41px;
    width: 310px;
    border: 1px solid #d6b008;
}

a#banner-btn404:hover {
    background-color: #fff;
    color: #d6b008;
}

.entry-wrap.entry-404 {
  padding-right: 0px !important;
    padding-top: 0px !important;
    padding-left: 0px !important;
}

.error404 .entry-404 p {
  max-width: 100% !important;
 font-size: 1em !important;
 text-align: center;
}

.error404 header.x-header-landmark.x-container.max.width {

display: none;
}

.button404{
  padding-bottom: 10px;
}

.search404 {
    padding-bottom: 10px;
}

.x-counter .text-below{
   font-size: 13px;
}

#menu-x-demo-menu li ul {
    z-index: 100;
}