/*
Theme Name: RevOptInn Wordpress Theme
Theme URI: http://revoptinn.com/
Author: E Crowder
Description: Theme for Revenue Optimization Innovators.
Version: 1.1
Text Domain: roi
*/

/* === Imports === */
@import 'https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i|Raleway:600';

/* =============== */
/* === General === */
/* =============== */
html {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: sans-serif;
}

p {
  font-family: "Open Sans", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

article, aside, footer, header, main, nav, section, summary {
  display: block;
}

/* ============== */
/* === Topbar === */
/* ============== */
#topbarcontainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #FFF;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  z-index: 10;
}

#topbar {
  width: 80%;
  margin: auto;
}

.logo {
  float: left;
  box-sizing: content-box;
}

.logo a {
  width: 100%;
  height: 100%;
  box-sizing: inherit;
}

.logo a img {
  padding: 8px;
  box-sizing: inherit;
}

/* === Topbar - Buttonbar === */
/* ========================== */

.buttonbar {
  float: right;
}

.buttonbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.buttonbar ul.menu > li:last-child:after {
  content: "";
  display: table;
  clear: both;
}

.buttonbar ul.menu > li {
  height: 100px;
  float: left;
  position: relative;
  width: 150px;
}

.buttonbar ul.menu > li > a {
  text-decoration: none;
  text-align: center;
  line-height: 100px;
  color: #000;
  font-weight: 600;
  font-size: 1.5em;
  font-family: "Open Sans", sans-serif;
  display: block;
  width: 100%;
  height: 100%;
  white-space: nowrap;
}

.buttonbar ul.menu > li:hover > a {
  background: #666;
  color: #FFF;
}

/* = Topbar - Buttonbar - Dropdown = */
.buttonbar ul > li > ul {
  background: #666;
  width: 225%;
  display: none;
}

.buttonbar ul > li:hover > ul {
  display: block;
}

/*.buttonbar ul > li > ul > li {

}*/

.buttonbar ul > li > ul > li > a {
  color: #FFF;
  padding: 20px;
  display: block;
}

.buttonbar ul > li > ul > li > a:hover,
.buttonbar ul > li > ul > li > a:active {
  text-decoration: none;
  background: #333;
}

.buttonbar ul > li > ul > .current-menu-item a {
  background: #555;
}


/* Maximum 2 menu levels */
.buttonbar ul > li > ul > li ul {
  display: none;
}

/* === Topbar - Mobile Nav === */
/* =========================== */

.buttonbar.mobilemenu .mobile-nav-button {
  width: 100px;
  height: 100px;
  position: absolute;
  right: 10%;
}

.buttonbar.mobilemenu .mobile-nav-button:hover,
.buttonbar.mobilemenu .mobile-nav-button:active {
  cursor: pointer;
}

.buttonbar.mobilemenu .mobile-nav-button i {
  position: relative;
  top: 25px;
  left: 25px;
}

.buttonbar.mobilemenu {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.buttonbar.mobilemenu ul {
  display: none;
  width: 100%;
  position: relative;
  top: 100px;
}

.buttonbar.mobilemenu ul li {
  height: 75px;
  float: none;
  position: inherit;
  width: 100%;
  background: #E4E4E4;
}

.buttonbar.mobilemenu ul li a {
  line-height: 75px;
}

/* ================ */
/* === Homepage === */
/* ================ */
.backslider-container {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.homecontent {
  position: fixed;
  bottom: 10%;
  width: 100%;
}

.homecontent > p,
.homecontent > .block > p:last-child {
  margin: 0;
}

.homecontent > h1,
.homecontent > p,
.homecontent > .block {
  font-family: "Open Sans", sans-serif;
  padding: 20px 40px;
  background: rgba(255,255,255,0.95);
  z-index: 5;
  box-sizing: border-box;
  display: block;
}

.homecontent > h1 {
  font-size: 2.3em;
  min-width: 900px;
  width: 65%;
  max-width: 1200px;
}

.homecontent > p,
.homecontent > .block {
  min-width: 1000px;
  width: 70%;
  max-width: 1300px;
}

/* ============ */
/* === Main === */
/* ============ */
#pagecontainer {
  width: 100%;
  height: 100%;
  background: #CCC url("https://revoptinn.com/wp-content/uploads/2017/02/ocean-pd-adjusted.jpg") no-repeat fixed center;
  background-size: cover;
  padding-top: 102px;
  overflow-y: scroll;
}

/*#pagecontainer > .scrollcontainer {
  width: 100%;
  overflow: hidden;
}*/

#pagescroller {
  overflow-y: auto;
}

main {
  width: 70%;
  padding: 30px 0 20px 0;
  margin: 0 auto;
}

article {
  background: #FFF;
  padding: 6px 16px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  position: relative;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6,
article p {
  margin-left: 16px;
  margin-right: 16px;
}

article h1 {
  font-size: 2em;
}

header h1 {
  font-size: 2.2em;
}

footer {
  margin: 10px 0;
  text-align: center;
  font-size: 14px;
  color: #888;
}

article .container {
  width: auto;
}

/* === Main - Content Grids === */
/* ============================ */

.content-grid .popover {
  color: #000;
}

.content-grid > .row > div {
  margin: 16px 0;
}

.content-grid .col-md-12 {
  background: #EEE;
  color: #444;
  padding: 26px 22px 10px 22px;
  border-radius: 8px;
}

.content-grid .centericon {
  color: #0f75bc;
}

.content-grid h2 {
  font-size: 32px;
  text-align: center;
  font-weight: bold;
}

.content-grid .title {
  display: table;
  width: 100%;
  height: 90px;
}

.content-grid .title h2 {
  display: table-cell;
  vertical-align: middle;
}

.content-grid .description {
  width: 100%;
  display: table;
}

.content-grid .description p {
  display: table-cell;
  vertical-align: middle;
}

.content-grid .description li {
  display: list-item;
  height: inherit;
  width: inherit;
}

.content-grid .btn-nav,
.content-grid .btn-nav:visited {
  color: #222;
  background-color: #EEE;
  border-color: #CCC;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.2);
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15),0 1px 1px rgba(0,0,0,0.075);
  margin: 30px 0;
}

.content-grid .btn-nav:hover,
.content-grid .btn-nav:active {
  color: #FFF;
  background-color: #0f75bc;
  border-color: #0f75bc;
}

/* ================ */
/* === Services === */
/* ================ */

/* === Services - Big service icon in circle === */
/* ============================================= */

.service-icon {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #EEE;
  margin: 0 auto 28px auto;
  position: relative;
}

.service-icon .fa {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -51px;
  margin-top: -40px;
  color: #39b54a;
}

/* === Services - Content jump buttons === */
/* ======================================= */

.jump-button,
.jump-button:focus {
  text-align: center;
  display: block;
  color: #222;
  border: 2px solid #CCC;
  border-radius: 20px;
  padding: 10px 0;
  text-decoration: none;
}

.jump-button:hover,
.jump-button:active {
  background: #25aae1;
  color: #FFF;
  border-color: #25aae1;
  text-decoration: none;
}

/* ============= */
/* === About === */
/* ============= */
.profile-block {
  clear: both;
  margin: 20px 0;
}

.profile-block:after {
  content: "";
  display: table;
  clear: both;
}

.profile-block p {
  line-height: 25px;
}

img.profile {
  margin: auto 16px;
}

/* Old */
/*.about-table {
  display: table-row;
}

.profile-text {
  line-height: 25px;
}

.about-table .cell {
  display: table-cell;
  padding: 0 10px;
}

.cell-left {
  border-right: 1px solid #CCC;
}

.cell-right {
  text-align: right;
  border-left: 1px solid #CCC;
}*/

/* =============== */
/* === Clients === */
/* =============== */

.clientlist li {
  line-height: 25px;
}

/* ============ */
/* === Misc === */
/* ============ */
.right {
  float: right;
}

.left {
  float: left;
}

.clear {
  clear: both;
}

.center-text {
  text-align: center;
}

a.link-popover {
  color: #FFF;
  text-decoration: none;
}

a.link-popover:hover,
a.link-popover:focus {
  color: #FFF;
  text-decoration: underline;
}
