/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ------------------------- end css reset ----*/

/* MyRoomRates - Login Stylesheet */


/* Name:       MyRoomRates */
/* Caption:    "Proactive pricing for hoteliers" */

/* Fonts */

@font-face {
    font-family: 'Swiss721';
    src: url('../fonts/swiss_721_swa-webfont.woff2') format('woff2'),
         url('../fonts/swiss_721_swa-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Swiss721';
    src: url('../fonts/swiss_721_oblique_swa-webfont.woff2') format('woff2'),
         url('../fonts/swiss_721_oblique_swa-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Swiss721';
    src: url('../fonts/swiss_721_bold_swa-webfont.woff2') format('woff2'),
         url('../fonts/swiss_721_bold_swa-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Swiss721';
    src: url('../fonts/swiss_721_bold_oblique_swa-webfont.woff2') format('woff2'),
         url('../fonts/swiss_721_bold_oblique_swa-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'Swiss721Narrow';
    src: url('../fonts/swiss_721_narrow_bold_oblique_swa-webfont.woff2') format('woff2'),
         url('../fonts/swiss_721_narrow_bold_oblique_swa-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'Swiss721Narrow';
    src: url('../fonts/swiss_721_narrow_bold_swa-webfont.woff2') format('woff2'),
         url('../fonts/swiss_721_narrow_bold_swa-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Swiss721Narrow';
    src: url('../fonts/swiss_721_narrow_oblique_swa-webfont.woff2') format('woff2'),
         url('../fonts/swiss_721_narrow_oblique_swa-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Swiss721Narrow';
    src: url('../fonts/swiss_721_narrow_swa-webfont.woff2') format('woff2'),
         url('../fonts/swiss_721_narrow_swa-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* Font - Gentium = Serif */
@font-face {
    font-family: 'GentiumBasic';
    src: url('../fonts/genbasb-webfont.woff2') format('woff2'),
         url('../fonts/genbasb-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'GentiumBasic';
    src: url('../fonts/genbasbi-webfont.woff2') format('woff2'),
         url('../fonts/genbasbi-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'GentiumBasic';
    src: url('../fonts/genbasi-webfont.woff2') format('woff2'),
         url('../fonts/genbasi-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'GentiumBasic';
    src: url('../fonts/genbasr-webfont.woff2') format('woff2'),
         url('../fonts/genbasr-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GentiumBook';
    src: url('../fonts/genbkbasb-webfont.woff2') format('woff2'),
         url('../fonts/genbkbasb-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'GentiumBook';
    src: url('../fonts/genbkbasbi-webfont.woff2') format('woff2'),
         url('../fonts/genbkbasbi-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'GentiumBook';
    src: url('../fonts/genbkbasi-webfont.woff2') format('woff2'),
         url('../fonts/genbkbasi-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'GentiumBook';
    src: url('../fonts/genbkbasr-webfont.woff2') format('woff2'),
         url('../fonts/genbkbasr-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* Colours: */

/*     Primary     MRR Green       #8fc547     RGB(143, 197, 71) */
/*                 MRR Green DK        #53880F */
/*                 MRR Green Lt        #B3E572 */
/*     Secondary   MRR Mid Grey        #59595c     RGB(89, 89, 92) */
/*                 MRR Dk Grey     #3d3d40     RGB(61, 61, 64) */
/*                 MRR VDk Grey        #141415 */
/*     Tertiary    MRR Permanganate    #65207D     RGB(101, 32, 125) */
/*                 MRR Dilute Permanganate #78378F     RGB(120, 55, 143) */
/*     White       White           #ffffff     RGB(255, 255, 255) */

/* Fonts: */
/*     Titles:     Swiss 721 Bold */
/*     Body:       GentiumBook */
/*     Websafe:    Tahoma */
    


/* Green #8fc547 */
/* Grey #59595c */

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

body {
	font-family: "Swiss721", Liberation Sans, Arial Black, Arial, Helvetica, sans-serif;
	/*font-family: "SabonRoman", "Palatino Linotype", "PT Serif", "Book Antiqua", "PT Serif",  "Times New Roman", Palatino, serif;*/
	font-size: 12pt;
	color: white;
	background-color: #8fc547 !important;
}


/* Colours */
.white-fg, .white {color: white !important;}
.green-fg, .green {color: #8fc547 !important;}
.grey-fg, .grey {color: #59595c !important;}
.darkgrey-fg, .darkgrey {color: #3d3d40 !important;}
.lightgrey-fg, .lightgrey {color: #e0e0e0 !important;}

.white-bg {background-color: white !important;}
.green-bg {background-color: #8fc547 !important;}
.darkgrey-bg {background-color: #59595c !important;}
.grey-bg {background-color: #59595c !important;}
.lightgrey-bg {background-color: #e0e0e0 !important;}


/* Generic text */

.logo-subtext, .serif, .notices, label, p {
	font-family: "GentiumBook", "Constantia", "Palatino Linotype", "PT Serif", "Book Antiqua", "Times New Roman", "Palatino", serif;
}

.logo-text {
	color: #59595c;
	font-size: 38pt;
	text-transform: uppercase;
	font-weight: bold;
	margin-top: 0.5em;
}
.logo-subtext {
	color: #8fc547;
	font-size: 24pt;
}

h1, h2, h3, .title-font {
	font-family: "Swiss721", "Constantia", "Palatino Linotype", "PT Serif", "Book Antiqua", "Times New Roman", "Palatino", serif;
	margin-top: 1em;
	margin-bottom: 0.5em;
	text-transform: uppercase;
	font-weight: bold;
}

p, small {
	line-height: 1.5em;
}

h1 {
	font-size: 48pt;
}

h2 {
	font-size: 32pt;
}

h3 {
	font-size: 20pt;
}

p {
	font-size: 12pt;
}

small {
	font-size: 8pt;
}

a {
	text-decoration: underline;
}

.title-font {
	font-size: 14pt;
}

ul, li {
	list-style: disc;
	line-height: 1.5em;
	font-size: 12pt;
}
ul {
	padding-left: 1em;
	margin: 1em 0px;
}
li {
	padding-left: 0.25em;
}
.em{
	font-style: italic;
}

/* Blocks */
.fullwidth {
	width: 100% !important;
}

.left {
	float: right;
}

.right {
	float: right;
}

.scalable {
	max-width: 80%;
	max-height: 50vh;
}

.u-dotted-white{
	border-bottom: 1px dotted white;
}

.size32{width: 32px;}
.size48{width: 48px;}
.size64{width: 64px;}
.size128{width: 128px;}

.hr {
	width: 100%;
	margin: 0em 2em;
	border-top: 1px dotted #59595c;
}

/* Title Page */

footer {
	font-size: 8pt;
	color: #59595c;
	display: table;
	text-align: left;
	border-top: 1px dotted #59595c;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-color: white;
}
footer .row{
	display: table-row;
}
footer .cell-left, footer .cell-centre, footer .cell-right{
	display: table-cell;
	vertical-align: middle;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}
.cell-left {
	padding-left: 1em;
	padding-right: 2em;
	text-align: left;
}
.cell-center {
	padding-left: 2em;
	padding-right: 2em;
	text-align: center;
}
.cell-right {
	padding-left: 2em;
	padding-right: 1em;
	text-align: right;
}

hr {
	width: 100%;
}

.big{
	font-size: 1em;
}


/* Login Form */
table.form {
	margin-bottom: 1em;
	font-family: "Swiss721";
	font-size: 18pt;
}
table.form td {
	padding: 0.5em 0.5em 0.5em 0;
}
table.form input[type="text"], table.form input[type="password"] {
	color: white;
	border: 0px;
	font-size: 18pt;
	font-family: "Swiss721" !important;
	color: #59595c !important;
	background-color: white !important;
	padding: 0.25em;
	width: 8em;
}

ul.errorlist {
	max-width: 24em;
	list-style: none;
	margin: 0px;
	background-color: #c60000;
	padding: 0em;
}
ul.errorlist li {
	margin: 0px;
	padding: 0.5em 0.75em;
	list-style: none;
}


div.notices {
	color: #59595c;
	display: table;
	margin-left: auto;
	margin-right: auto;
}
div.notices .item {
	display: table-row;
}
div.notices .item div {
	display: table-cell;
	vertical-align: middle;
	text-align: left;
}
div.notices .item div.graphic {
	padding-right: 1em;
}
div.graphic iframe, div.graphic img, div.graphic canvas, div.graphic video {
	border: 2px solid #8fc547;
	-webkit-box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.175);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.175);
}

.youtube {
	max-width: 300px;
	max-height: 169px;
	height: 20vh;
}


@media screen and (min-width: 860px) {
	/* Large Medium Screens */
	div#logopane{
		position: fixed;
		height: 100%;
		left: 0;
		width: 60%;
		top: 0px;
		bottom: 0px;
		right: 40%;
		text-align: center;
	}
	
	div#logopane {
		padding-bottom: 3em;
	}
	
	div.notices {
		margin-top: 6vh;
		max-width: 90%; 
	}
	
	div#contentpane{
		margin-left: 60%;
	}
	
	.vertical-centre-wrapper{
		height: 100%;
		position: absolute;
	}
	
	.vertical-centre-wrapper:before{
		content: '';
		display: inline-block;
		height: 100%; 
		vertical-align: middle;
		margin-right: -0.25em; /* Adjusts for spacing */
	}
	
	.vertical-centre {
		display: inline-block;
/* 		padding: 1em 10%; */
		vertical-align: middle;
	}
	
	.login-spacer {
		padding-left: 2em;
	}
	
	footer {
		position: fixed;
		bottom: 0px;
		width: 60%;
		left: 0px;
	}
}

@media screen and (max-width: 859.9px) {
	/* Small Screens */
	body {
		margin-bottom: 4em;
	}
	div#logopane{
		display: block;
		width: 100%;
		text-align: center;
		padding: 0.5em 0px;
	}
	div#logopane img.logo{
		width: 128px;
	}
	
	div.notices {
		display: block;
		margin-top: 3em;
		max-width: 90%; 
	}
	div.notices div.item {
		display: block;
	}
	div.notices div.item div {
		display: block; 
		text-align: center;
	}
	
	
	div#contentpane{
		margin-left: 1em;
		margin-right: 1em;
		margin-bottom: 2em;
	}

	footer {
		position: fixed;
		bottom: 0px;
		width: 100%;
		background: white;
		height: 4em;
	}
}
