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

@font-face {
  font-family: 'Indie Flower';
  font-weight: 400;
  font-style: normal;
  src: url('/fonts/Indie-Flower-regular/Indie-Flower-regular.eot');
  src: url('/fonts/Indie-Flower-regular/Indie-Flower-regular.eot?#iefix') format('embedded-opentype'),
       local('Indie Flower'),
       local('Indie-Flower-regular'),
       url('/fonts/Indie-Flower-regular/Indie-Flower-regular.woff2') format('woff2'),
       url('/fonts/Indie-Flower-regular/Indie-Flower-regular.woff') format('woff'),
       url('/fonts/Indie-Flower-regular/Indie-Flower-regular.ttf') format('truetype'),
       url('/fonts/Indie-Flower-regular/Indie-Flower-regular.svg#IndieFlower') format('svg');
}

/* structural */
* {-webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-touch-callout: none;}
html {position: fixed; width: 100%; height: 100%; padding: 0px; margin: 0px; border: 0px; background: url(../img/mirre2-1920.png) no-repeat -18% 50px fixed; background-size: 59% auto;}
body {position: fixed; width: 100%; height: 100%; padding: 0px; margin: 0px; border: 0px; font-family: 'Calibri'; font-size: 18px; line-height: 140%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-smoothing: antialiased; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;}
.content {position: fixed; list-style-type: none; display: block; top: 0px; left: 0px; width: 100%; height: 100%; padding: 0px; margin: 0px; overflow: hidden; z-index: 2;}
.page {position: absolute; list-style-type: none; display: block; top: 100%; left: 0px; width: 100%; height: 100%; padding: 0px; margin: 0px;}
.left {position: absolute; left: 20px;}
.right {position: absolute; right: 20px;}
.clickable {cursor: pointer;}
.noSelect {-webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; cursor: default;}
#homeImgBack {display: none;}

/* header + navigation styles */
header {position: fixed; display: block; top: 0px; left: 0px; width: 100%; height: 5.9%; background-color: rgba(255,255,255,0.7); font-family: 'Indie Flower'; z-index: 4; border-bottom: 1px solid #cc3399;}
.logo {position: absolute; bottom: 8px; color: #000000; padding: 0px; margin: 0px; font-size: 1.5em;}
nav {position: absolute; bottom: 8px; padding: 0px; margin: 0px; color: #000000; font-size: 1.5em;}
nav ul, nav li {list-style-type: none; display: inline-block; padding: 0px; margin: 0px;}
#navigation {color: #0066cc;}
#navigation .selected {color: #000000; transition: color .3s ease;}

/* container styles */
.containerMain {position: absolute; top: 12%; left: 51.9%; width: calc(50% - 120px); min-height: calc(100% - 12% - 160px); padding-left: 30px; padding-right: 30px; padding-top: 30px; padding-bottom: 30px; border-radius: 8px; background-color: rgba(255,255,255,0.8);}
.containerMainB {position: absolute; top: 12%; left: 51.9%; width: calc(50% - 120px); min-height: calc(100% - 12% - 160px); padding-left: 30px; padding-right: 30px; padding-top: 30px; padding-bottom: 30px; border-radius: 8px;}
.containerTeam {position: absolute; top: 25%; left: 30px; width: calc(100% - 120px); min-height: calc(100% - 50% - 100px); padding-left: 30px; padding-right: 30px; padding-top: 0px; padding-bottom: 0px; text-align: center; border-radius: 8px; background-color: rgba(255,255,255,0.8);}
.container-left {position: relative; display: inline-block; vertical-align: top; margin-top: 15px; margin-left: 30px; margin-right: 0px; width: calc(25% - 30px); text-align: left; border-radius: 8px;}
.container-right {position: relative; display: inline-block; vertical-align: top; margin-top: 15px; margin-left: 30px; margin-right: 0px; width: calc(25% - 30px); text-align: left; border-radius: 8px;}
.containerContent {max-width: 600px;}

.teamText {position: relative; width: 100%; height: auto;}
.teamText a {color: black; text-decoration: none;}
.appRow {position: absolute; display: inline-block; top: -2px; right: 0px; width: 30%;}
.appButton {position: absolute; right: 0px; width: auto; padding-left: 8px; padding-right: 8px; font-size: 0.8em; border: 1px solid black; border-radius: 12px; cursor: pointer;}

/* footer styles */
footer {position: fixed; display: block; bottom: 0px; left: 0px; width: 100%; height: 40px; background-color: rgba(8,43,168,1); z-index: 4;}
.footer-content {position: absolute; top: 10px; width: 100%; color: #fefe7a;}
.footer-content a {color: #fefe7a; text-decoration: none; cursor: pointer;}

/* custom */
h1, h2 {font-family: 'Indie Flower';}
h1 {font-size: 48px; line-height: 54px;}
h2 {font-size: 32px;}
#star {position: absolute; top: 24.7%; left: 38.1%; width: 9%; height: auto; z-index: 1; transition: all .7s linear}
#phoneImg {display: none;}
.quote {position: absolute; top: 22%; left: 0px; width: 100%; text-align: center;}
#keys {position: absolute; bottom: 60px; height: 66px; width: 100px; left: calc(50% - 50px);}
.page2 h2{margin-top: 0px;}
.list-star {display: inline-block; border: 0px; width: 18px; height: 18px; background: url(../img/list-style.png)}
.page4 h2 {margin-top: 10px;}


/* Contact Page Styles */
.contact {position: absolute; top: 30px; left: 73%;}
#mapSection {position: absolute; top: 30px; left: 30px; width: calc(73% - 60px); height: calc(100% - 60px); border: 0px solid black; border-radius: 8px; overflow: hidden; z-index: 2;}
#map {position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; border-radius: 8px; z-index: 1;}
.contact a {color: black; text-decoration: none;}

/* Dropdown Menu styles */
.dropdown {position: fixed; top: 9px; right: 10px; width: 60px; display: none; padding: 0px; margin: 0px; border: 0px; font-family: 'Indie Flower'; font-size: 1.3em; z-index: 7;}
#here {position: absolute; right: 18px; width: 50px; text-align: right; color: black; cursor: pointer;}
#drop {position: absolute; top: 0px; right: 0px; font-size: 0.8em; cursor: pointer;}
.dropdown-content {display: none; position: absolute; top: 25px; left: -5px; padding: 5px; margin: 0px; border: 0px; background-color: white; font-size: 1em; line-height: 170%; width: 60px; height: auto; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); text-align: left;}
.dropdownNav {line-height: 160%;}
.dropdown-content ul, .dropdown-content li {list-style-type: none; padding: 0px; margin: 0px; border: 0px; color: #0066cc;}
.dropdownNav .selected {color: black;}


/* ----------------------------------------------------------------------------------- */

/* responsive */
@media screen and (max-width: 1800px) {
    html {background: url(../img/mirre2-1920.png) no-repeat -14% 40px fixed; background-size: 57% auto;}
}

@media screen and (max-width: 1580px) {
    html {background: url(../img/mirre2-1920.png) no-repeat -12% 40px fixed; background-size: 56% auto;} 
    h1 {font-size: 40px; line-height: 46px;}
    .containerMain {top: 60px; min-height: calc(100% - 180px);}
    .containerTeam {top: 18%; left: 30px; width: calc(100% - 60px); min-height: 40%; padding-right: 0px; padding-left: 0px;}
    .container-left, .container-right {margin-top: 15px; width: calc(25% - 30px);}
    h2 {font-size: 28px;}
    .appRow {width: 40%; text-align: right;}
    #mapSection {width: calc(68% - 60px);}
    .contact {left: 68%;}
    footer {height: 30px;}
    .footer-content {top: 2px;}
}

@media screen and (max-width: 1495px) {
    h1 {font-size: 40px; line-height: 46px;}
    .containerContent {line-height: 130%;}
    #mapSection {width: calc(65% - 60px);}
    .contact {left: 65%;}
}

@media screen and (max-width: 1455px) {
    html {background: url(../img/mirre2-1920.png) no-repeat -12% 30px fixed; background-size: 56% auto;}
    body {font-size: 16px;}
    header {height: 6.5%;}
    h1 {font-size: 36px; line-height: 42px;}
    .containerTeam h2 {font-size: 25px;}
    .footer-content {top: 4px;}
}

@media screen and (max-width: 1335px) {
    html {background: url(../img/mirre2-1920.png) no-repeat -9% 30px fixed; background-size: 55% auto;}
    .containerMain {top: 50px; min-height: calc(100% - 160px);}
    .containerTeam h2 {font-size: 22px;}
}

@media screen and (max-width: 1280px) {
    body {font-size: 15px;}
    header {height: 6.8%;}
    .containerMain {top: 50px; min-height: calc(100% - 160px); left: 51%; width: calc(50% - 100px); padding-left: 20px; padding-right: 20px;}
    .containerTeam {top: 15%; left: 30px; width: calc(100% - 60px); min-height: 40%; padding-right: 0px; padding-left: 0px;}
    .container-left, .container-right {margin-top: 10px; margin-left: 15px; margin-right: 0px; width: calc(25% - 15px);}
    #mapSection {left: 20px; width: calc(65% - 40px);}
    footer {height: 30px;}
    .footer-content {top: 6px;}
    h1 {font-size: 32px; line-height: 38px;}
    h2 {font-size: 22px;}
}
  
@media screen and (max-width: 1230px) { /* 1230 x 565 */
    html {background: url(../img/mirre-small.png) no-repeat -9% 20% fixed; background-size: 45% auto;}
    #star {display: none;}
    .containerMain, .containerMainB {left: 42%; width: calc(60% - 120px); top: 40px; min-height: calc(100% - 140px);}
    /* .containerTeam {left: 24%; width: 75%;} */
    .containerContent {line-height: 120%;}
}
    
@media screen and (max-width: 1190px) {
    header {height: 7%;}
}

@media screen and (max-width: 1150px) { /* 1150 x 520 */
    
}
    
/* Ipad Landscape + most other tablets Landscape */
@media screen and (max-width: 1024px) {
    html {background: url(../img/mirre-small.png) no-repeat -7% 14% fixed; background-size: 40% auto;}
    body {font-size: 18px;}
    header {height: 7%;}
    #star {display: none;}
    h1 {font-size: 36px; line-height: 42px;}
    h2 {font-size: 24px;}
    .containerMain, .containerMainB {top: 9.5%; left: 34.3%; width: calc(71% - 120px); min-height: calc(90.5% - 110px);}
    .containerTeam {top: 8.5%; left: 30px; width: calc(100% - 60px); padding-right: 0px; padding-left: 0px;}
    .container-left, .container-right {margin-top: 10px; margin-left: 15px; width: calc(50% - 31px);}
    .teamText p {font-size: 0.8em; margin-top: 0px; margin-bottom: 2px;}
    .teamText h2 {font-size: 22px; margin-top: 0px; margin-bottom: 2px;}
    .containerContent {line-height: 110%;}
    #mapSection {left: 30px; width: calc(65% - 50px); height: calc(100% - 50px); border: 1px solid black; border-radius: 8px; overflow: hidden; z-index: 2;}
    .contact {left: 65%;}
    footer {height: 30px;}
    .footer-content {top: 2px;}
    
    @media screen and (max-height: 600px) {
        body {font-size: 15px;}
    }
}

/* Nexus 7 Landscape */
@media screen and (max-width: 960px) and (max-height: 600px) {
    html {background: url(../img/mirre-small.png) no-repeat -7% 14% fixed; background-size: 40% 50%;}
    body {font-size: 15px;}
    header {height: 7%;}
    #star {display: none;}
    h1 {font-size: 36px; line-height: 42px;}
    h2 {font-size: 26px;}
    .containerMain, .containerMainB {top: 9.5%; left: 34.3%; width: calc(71% - 120px); min-height: calc(90.5% - 110px);}
    .containerTeam {top: 8.5%; left: 30px; width: calc(100% - 60px); padding-right: 0px; padding-left: 0px;}
    .container-left, .container-right {margin-top: 5px; margin-left: 15px; width: calc(50% - 32px);}
    .teamText p {font-size: 0.9em; margin-top: 0px; margin-bottom: 2px;}
    .teamText h2 {font-size: 22px; margin-top: 0px; margin-bottom: 2px;}
    .containerContent {line-height: 120%;}
    #mapSection {width: calc(68% - 60px); height: calc(100% - 60px); border: 1px solid black; border-radius: 8px; overflow: hidden; z-index: 2;}
    .contact {left: 68%;}
    footer {height: 30px;}
    .footer-content {top: 1px;}
}

/* small laptops + netbooks + Large Phones Portrait */
@media screen and (max-width: 900px) {
    /* Large Phones */ 
    @media screen and (min-height: 901px) { 
        html {background: url(../img/mirre-small.png) no-repeat -10% 50px fixed; background-size: auto 23%;}
        body {font-size: 18px;}
        header {height: 45px;}
        #star {display: none;}
        h1 {font-size: 36px; line-height: 42px;}
        h2 {font-size: 26px;}
        .containerMain, .containerMainB {top: 27%; left: 20px; width: calc(100% - 100px); padding-top: 0px; min-height: calc(100% - 27% - 160px); background-color: transparent;}
        .containerTeam {top: 8.5%; left: 20px; width: calc(100% - 40px); padding-right: 0px; padding-left: 0px;}
        .container-left, .container-right {margin-top: 5px; margin-left: 15px; width: calc(50% - 32px);}
        .teamText p {font-size: 0.9em; margin-top: 0px; margin-bottom: 2px;}
        .teamText h2 {font-size: 22px; margin-top: 0px; margin-bottom: 2px;}
        .containerContent {line-height: 140%; max-width: 100%;}
        #mapSection {width: calc(65% - 60px); height: calc(100% - 60px); border: 1px solid black; border-radius: 8px; overflow: hidden; z-index: 2;}
        .contact {left: 65%;}
        .noIpad {display: none;}
        .page2 h2{margin-top: 30px;}
        .footer-content {top: 1px;}
    }
    
    @media screen and (max-height: 900px) {
    html {background: url(../img/mirre-small.png) no-repeat -7% 50px fixed; background-size: 40% auto;}
    body {font-size: 16px;}
    header {height: 45px;}
    #star {display: none;}
    h1 {font-size: 32px; line-height: 38px;}
    h2 {font-size: 22px;}
    .containerMain, .containerMainB {top: 55px; left: 34.3%; width: calc(71% - 120px); min-height: calc(100% - 160px);}
    .containerTeam {top: 8.5%; left: 30px; width: calc(100% - 60px); padding-right: 0px; padding-left: 0px;}
    .container-left, .container-right {margin-top: 5px; margin-left: 15px; width: calc(50% - 32px);}
    .teamText p {font-size: 0.9em; margin-top: 0px; margin-bottom: 2px;}
    .teamText h2 {font-size: 22px; margin-top: 0px; margin-bottom: 2px;}
    .containerContent {line-height: 120%;}
    .quote {top: 45px;}
    #mapSection {width: calc(63% - 60px); height: calc(100% - 60px); border: 1px solid black; border-radius: 8px; overflow: hidden; z-index: 2;}
    .contact {left: 63%;}
    footer {height: 30px;}
    .footer-content {top: 1px;}
    }
    
    @media screen and (max-height: 600px) {
        body {font-size: 15px;}
    }
}

/* Ipad Portrait */
@media screen and (max-width: 768px) and (min-width: 768px) and (max-height: 1024px)  {
    html {background: url(../img/mirre-small.png) no-repeat -4% 10% fixed; background-size: auto 20%;}
    body {font-size: 18px;}
    header {height: 7%;}
    #star {display: none;}
    h1 {font-size: 36px; line-height: 42px;}
    h2 {font-size: 26px;}
    .containerMain, .containerMainB {top: 27%; left: 20px; width: calc(100% - 100px); padding-top: 0px; min-height: calc(100% - 27% - 160px); background-color: transparent;}
    .containerTeam {top: 28%; left: 0px; width: 100%; padding-right: 0px; padding-left: 0px;}
    .container-left, .container-right {margin-top: 10px; margin-left: 30px; width: calc(50% - 42px);}
    .teamText p {font-size: 0.9em; margin-top: 0px; margin-bottom: 2px;}
    .teamText h2 {font-size: 22px; margin-top: 0px; margin-bottom: 2px;}
    .containerContent {line-height: 140%; max-width: 100%;}
    #mapSection {width: calc(65% - 60px); height: calc(100% - 60px); border: 1px solid black; border-radius: 8px; overflow: hidden; z-index: 2;}
    .contact {left: 65%;}
    .noIpad {display: none;}
    .page2 h2{margin-top: 30px;}
    .footer-content {top: 1px;}
}
    
/* more large phones Portrait */
@media screen and (max-width: 700px) and (min-height: 421px) { 
    html {background: url(../img/mirre-small.png) no-repeat -9% 50px fixed; background-size: auto 23%;}
    body {font-size: 16px;}
    header {height: 45px;}
    .logo, nav {bottom: 6px; font-size: 1.3em;}
    #star {display: none;}
    h1 {font-size: 36px; line-height: 42px;}
    h2 {font-size: 26px;}
    .containerMain, .containerMainB {top: 27%; left: 20px; width: calc(100% - 100px); padding-top: 0px; min-height: calc(100% - 27% - 160px); background-color: transparent;}
    .containerTeam {top: 28%; left: 0px; width: 100%; padding-right: 0px; padding-left: 0px;}
    .container-left, .container-right {margin-top: 10px; margin-left: 30px; width: calc(50% - 42px);}
    .teamText p {font-size: 0.9em; margin-top: 0px; margin-bottom: 2px;}
    .teamText h2 {font-size: 22px; margin-top: 0px; margin-bottom: 2px;}
    .containerContent {line-height: 140%; max-width: 100%;}
    #mapSection {width: calc(65% - 60px); height: calc(100% - 60px); border: 1px solid black; border-radius: 8px; overflow: hidden; z-index: 2;}
    .contact {left: 65%;}
    .noIpad {display: none;}
    .page2 h2{margin-top: 30px;}
    footer {height: 30px;}
    .footer-content {top: 4px;}
}
    
    

/* Other phones Portrait */
@media screen and (max-width: 570px) and (orientation: portrait) {
    html {background: none;}
    body {font-size: 12px;}
    header {height: 30px;}
    .left {left: 10px;}
    .right {right: 10px;}
    .logo, nav {bottom: 6px; font-size: 1.3em;}
    #star {display: none;}
    h1 {font-size: 20px; line-height: 26px;}
    h2 {font-size: 16px;}
    .content {overflow-y: scroll;}
    .containerMain, .containerMainB {top: 15px; left: 0px; padding-left: 10px; padding-right: 10px; width: calc(100% - 20px); padding-top: 0px; min-height: calc(100% - 200px); background-color: transparent;}
    .containerTeam {top: 35px; left: 5%; width: 90%; min-height: 100%; padding-right: 0px; padding-left: 0px; padding-bottom: 80px;}
    .container-left, .container-right {margin-top: 10px; margin-left: 0px; width: 100%;}
    .teamText p {font-size: 1em; margin-top: 0px; margin-bottom: 5px;}
    .teamText h2 {font-size: 16px; margin-top: 2px; margin-bottom: 5px;}
    .containerContent {line-height: 120%; max-width: 100%;}
    #mapSection {left: 10px; width: calc(100% - 20px); height: 60%; border: 1px solid black; border-radius: 8px; overflow: hidden; z-index: 2;}
    .contact {top: calc(60% + 40px); left: 10px;}
    .noIpad {display: none;}
    .noPortrait {display: none;}
    .page2 h2{margin-top: 30px;}
    footer {height: 18px;}
    .footer-content {top: 1px;}
    #navigation {display: none;}
    .dropdown {display: block;}
    #phoneImg {position: relative; margin-left: calc(50% - 100px); display: block;}
    ::-webkit-scrollbar {z-index: 5;}
}

/* Phones Landscape */
@media screen and (min-width: 325px) and (max-height: 420px)  {
    html {background: url(../img/mirre-small.png) no-repeat -5px 30px fixed; background-size: 20% auto;}
    body {font-size: 12px;}
    .left {left: 10px;}
    .right {right: 10px;}
    header {height: 30px;}
    .logo, nav {bottom: 6px; font-size: 1.45em;}
    #star {display: none;}
    h1 {font-size: 24px; line-height: 30px;}
    h2 {font-size: 16px;}
    .content {overflow-y: scroll;}
    .containerMain, .containerMainB {top: 20px; left: 19%; width: calc(80% - 40px); padding-top: 0px; min-height: calc(100% - 60px); background-color: transparent;}
    .containerTeam {top: 25px; left: 5%; width: 90%; min-height: 100%; padding-right: 0px; padding-left: 0px; padding-bottom: 100px;}
    .container-left, .container-right {margin-top: 10px; margin-left: 15px; width: calc(50% - 20px);}
    .teamText p {font-size: 1em; margin-top: 0px; margin-bottom: 2px;}
    .teamText h2 {font-size: 16px; margin-top: 0px; margin-bottom: 2px;}
    .quote {top: 35%;}
    .containerContent {line-height: 120%; max-width: 100%;}
    #mapSection {width: calc(65% - 60px); height: calc(100% - 60px);}
    .contact {left: 65%;}
    .noIpad {display: none;}
    .page2 h2{margin-top: 30px;}
    footer {height: 18px;}
    .footer-content {top: 1px;}
    ::-webkit-scrollbar {z-index: 5;}
    
    @media screen and (max-width: 740px)  {
        #mapSection {width: calc(72% - 60px);}
        .contact {left: 72%;}
    }
    
    @media screen and (max-width: 670px)  {
        #mapSection {width: calc(68% - 60px);}
        .contact {left: 68%;}
    }
    
    @media screen and (max-width: 640px)  {
        #mapSection {width: calc(66% - 60px);}
        .contact {left: 66%;}
    }
    
    @media screen and (max-width: 570px)  {
        #mapSection {width: calc(64% - 60px);}
        .contact {left: 64%;}
    }
    
    @media screen and (max-width: 540px)  {
        #mapSection {width: calc(62% - 60px);}
        .contact {left: 62%;}
    }
    
    @media screen and (max-width: 500px)  {
        #mapSection {width: calc(59% - 60px);}
        .contact {left: 59%;}
    }
}