/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

body {
    font-family: Cambria,AvenirNext;
    font-size: 1em;
    line-height: 1.4;
}
html, body
{
		/* overflow: hidden; */
    height: 100%;
		background-color: #dfdfdf;
}
/*
 * 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: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    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;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
	font-family: Cambria,'AvenirNext';
	src: url('fonts/UNIAvenirNext-UltraLight.eot');
	src: local('☺'), url('fonts/UNIAvenirNext-UltraLight.woff') format('woff'), url('fonts/UNIAvenirNext-UltraLight.ttf') format('truetype'), url('fonts/UNIAvenirNext-UltraLight.svg') format('svg');
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: Cambria,'AvenirNext';
	src: url('fonts/UNI AvenirNext-Medium.eot');
	src: local('☺'), url('fonts/UNI AvenirNext-Medium.woff') format('woff'), url('fonts/UNI AvenirNext-Medium.ttf') format('truetype'), url('fonts/UNI AvenirNext-Medium.svg') format('svg');
	font-weight: 300;
	font-style: normal;
}

/** 
@font-face {
	font-family: Cambria,'AvenirNext';
	src: url('fonts/AvenirNextLTPro-Medium.eot');
	src: local('☺'), url('fonts/AvenirNextLTPro-Medium.woff') format('woff'), url('fonts/AvenirNextLTPro-Medium.ttf') format('truetype'), url('fonts/AvenirNextLTPro-Medium.svg') format('svg');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: Cambria,'AvenirNext';
	src: url('fonts/AvenirNextLTPro-Bold.eot');
	src: local('☺'), url('fonts/AvenirNextLTPro-Bold.woff') format('woff'), url('fonts/AvenirNextLTPro-Bold.ttf') format('truetype'), url('fonts/AvenirNextLTPro-Bold.svg') format('svg');
	font-weight: 500;
	font-style: normal;
}


**/

a{
	transition: all 0.4s;
	-webkit-transition: all 0.4s; /* Safari */
	color: #b17c57;
	text-decoration: none;
	
}
a:hover {
	color: #ebb064;
}
a:hover, a:active, a:focus {
  outline: 0;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

*,
*:before,
*:after {

  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

::-webkit-input-placeholder { /* WebKit browsers */
    color:    #434343;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #434343;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #434343;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #434343;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.page-id-1895 #bgimage,
.page-id-1895 .sidebar,
.page-id-1895 .panel .content_page {
	display: none !important;
}

.page-id-1895 .panel{
	position: fixed !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0px !important;
}
.page-id-1895 .panel .page {
	width: 100% !important;
	padding: 0px !important;
}
.page-id-1895 .infopage{
	width: 100% !important;
}

.page-id-1895 .infopage h1:first-child{
	display: none !important;
}

.page-id-1895 .infopage #home-info-line1{
	padding-top: 4%;
	color: #76542f;
	font-size: 40px;
	text-align: center;
}

.page-id-1895 .infopage #home-info-line1 img{
	max-width: 40%;
}

.page-id-1895 .infopage #home-info-line2{
	color: #76542f;
	font-size: 80px;
	text-align: center;
	font-weight: bold;
}
body.page-id-1895{
	background-image: url('/wp-content/themes/galaroyale/images/NenWebsite.jpg') !important;
}
body.page-id-1895 #main_content{
	background-image: url('/wp-content/themes/galaroyale/images/NenWebsite.jpg') !important;
}
body.page-id-1895 .panel > div.page{
	background-image: none !important;
}
.page-id-1895 .infopage .web-links{
	position: absolute;
	width: 100%;
	bottom: 10%;
}
.page-id-1895 .infopage .web-links td{
	text-align: center;
}
.page-id-1895 .infopage .web-links img{
	width: 100%
}
.page-id-1895 .infopage .web-links td.space{
	width: 12%;
}
.page-id-1895 .infopage .home-menu{
	width: 100%;
	margin-top: 15px;
}

.page-id-1895 .infopage .home-menu td{
	text-align: center;
	vertical-align: baseline;
}
.page-id-1895 .infopage .home-menu td a{
	color: #4c3c23;
	font-size: 20px;
	font-weight: bold;
}

.page-id-1895 .infopage .home-menu td a.home-menu{
	font-size: 30px;
}

.page-id-1895 .infopage .home-menu td.lang{
	text-align: right;
	padding-left: 15px;
	width: 120px;
}
.page-id-1895 .infopage .home-menu td.lang a{
	font-size: 16px;
	font-weight: normal;
}
.page-id-1895 .infopage .home-menu td.space-menu{
	width: 30%;
}
.page-id-1895 .infopage .home-menu td.menu-item{
	/*width: 20%;*/
}
.page-id-1895 .infopage .home-menu td.lang.selected a{
	background-color: #ffe9ca;
	padding: 10px 0px;
}
.page-id-1895 .infopage .menu-item a:hover,
.page-id-1895 .infopage .web-links td:hover .hover-item{
	background: #f8c47b; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(white, #f8c47b); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(white, #f8c47b); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(white, #f8c47b); /* For Firefox 3.6 to 15 */
    background: linear-gradient(white, #f8c47b); /* Standard syntax (must be last) */
}

@font-face {
    font-family: "Palantino";
    src: url("/wp-content/themes/galaroyale/font/unicode.palatino.ttf") format("truetype");
}

.page-id-1895 a,
.page-id-1898 a{
	font-family: Palantino,Helvetica,Arial,sans-serif;
	text-shadow: initial;
}

.page-id-1898 #bgimage,
.page-id-1898 .sidebar,
.page-id-1898 .panel .content_page,
.page-id-1898 nav.footer,
.page-id-1898 footer,
.page-id-1898 .flexslider,
.page-id-1898 .banner,
.page-id-1898 header {
	display: none !important;
}

.page-id-1898 .panel{
	position: fixed !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0px !important;
}
.page-id-1898 .panel .page {
	width: 100% !important;
	padding: 0px !important;
}
.page-id-1898 .page{
	width: 100% !important;
}

.page-id-1898 .page h1:first-child,
.page-id-1898 .page h1:first-child{
	display: none !important;
}

.page-id-1898 .page #home-info-line1{
	padding-top: 15%;
	color: #76542f;
	font-size: 40px;
	text-align: center;
}

.page-id-1898 .page #home-info-line1 img{
	max-width: 40%;
}

.page-id-1898 .page #home-info-line2{
	color: #76542f;
	font-size: 80px;
	text-align: center;
	font-weight: bold;
}

body.page-id-1898{
	background-image: url('/wp-content/themes/galaroyale/images/NenWebsite.jpg') !important;
}

body.page-id-1898 .brown{
	background-image: none !important;
	background-color: transparent !important;
}

.page-id-1898 .page .web-links-mobile{
	position: absolute;
	width: 100%;
	bottom: 25%;
}
.page-id-1898 .page .web-links-mobile td{
	text-align: center;
}
.page-id-1898 .page .web-links-mobile .row1 img{
	width: 100%;
}
.page-id-1898 .page .web-links-mobile td.space{
	width: 17%;
}
.page-id-1898 .page .web-links-mobile .row2 img{
	width: 25.5%;
}
.page-id-1898 .page .home-menu{
	width: 100%;
}

.page-id-1898 .page .home-menu td{
	text-align: center;
}
.page-id-1898 .page .home-menu td a{
	color: #4c3c23;
	font-size: 19px;
}
.page-id-1898 .page .home-menu td.lang{
	width: 120px;
}
.page-id-1898 .page .home-menu td.menu-item{
	width: 20%;
}
.page-id-1898 .page .home-menu td.lang.selected{
	background-color: #ffe9ca;
}
.page-id-1898 article{
	padding: 0px !important;
}
.page-id-1898 .page .content{
	margin: 0px;
}
.page-id-1898 section{
	margin-top: -15px;
	min-height: 100%;
	background-image: url('/wp-content/themes/galaroyale/images/NenWebsite.jpg') !important;
}
html, body{
	margin: 0;
    height: 100%;
}

@media all and (max-height: 450px){
	.page-id-1898 .page #home-info-line1{
		padding-top: 0%;
	}
	.page-id-1898 .page #home-info-line1 img{
		max-width: 40%;
	}
	.page-id-1898 .page .web-links-mobile .row1 img{
		width: auto;
		height: 20%;
	}
	.page-id-1898 .page .web-links-mobile .row2 img{
		width: auto;
		height: 20%;
	}
	.page-id-1898 .page .web-links-mobile .row1 td{
		padding-bottom: 0px !important;
	}
}

.mobile-main-menu{
	display: none;
	background-image: url('/wp-content/themes/galaroyale/images/mobilemenubg.png');
    background-repeat: no-repeat;
    position: absolute;
	background-size: 160px 187px;
    width: 160px;
    height: 187px;
    top: 35px;
    left: 2px;
}
.mobile-main-menu div{
	padding-top: 30px;
	padding-left: 20px;
}
.mobile-main-menu a{
	font-size: 19px;
	color: #ffffff;
}
.mobile-main-menu.show{
	display: block;
}