/* ########################################################### */
/* #################### RUBY MEGA MENU   ##################### */
/* ######################## V 1.0 ############################ */

/* ################# DEMO SHOWCASE STYLES #################### */
/* THESE STYLES FOR DEMO SHOWCASE ONLY. ANY PROBLEM/QUESTION   */
/* REGARDING DEMO SHOWCASE WILL NOT BE SUPPORTED.              */

div.ruby-menu-demo-header {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  z-index: 99999;
}

div.ruby-menu-demo-header-bg {
  background: url(../images/ruby/bg.png);
}

div.ruby-menu-demo-header-bg div.ruby-menu-demo-download > span {
  color: #efefef;
}

div.ruby-menu-demo-header-bg div.ruby-menu-demo-download > span > span {
  color: #efefef;
}

div.ruby-menu-demo-description {
  position: relative;
  width: 980px;
  height: 160px;
  margin: 0 auto;
  padding: 0;
}

div.ruby-menu-demo-description img {
  max-width: 200px;
  float: left;
  margin: 50px 20px 0 0;
}

span.ruby-menu-demo-highlight {
  color: #333;
}

/* ruby-demo sections */
div.ruby-menu-demo-bg-light,
div.ruby-menu-demo-bg-dark {
  width: 980px;
  height: auto;
  position: relative;
  background: #fff;
  margin: 0 auto;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
}

div.ruby-menu-demo-bg-dark {
  background: efefef;
}

div.ruby-menu-demo-bg-light-c:after,
div.ruby-menu-demo-bg-dark-c:after {
	content: "";
	display: table;
	clear: both;
}

div.ruby-menu-demo-cv-1 {
  float: left;
  width: 33%;
}

div.ruby-menu-demo-cv-2 {
  float: left;
  width: 67%;
}

div.ruby-menu-demo-cv-3 {
  float: left;
  width: 48%;
}

div.ruby-menu-demo-cv-4 {
  float: left;
  width: 52%;
}

div.ruby-menu-demo-cr-1 {
  float: left;
  width: 33%;
}

div.ruby-menu-demo-cr-2 {
  float: left;
  width: 66%;
}

div.ruby-menu-demo-cs-1 {
  float: left;
  width: 33%;
}

div.ruby-menu-demo-cs-2 {
  float: left;
  width: 66%;
}

div.ruby-menu-demo-cf-1,
div.ruby-menu-demo-cf-2,
div.ruby-menu-demo-cf-3,
div.ruby-menu-demo-cf-4 {
  float: left;
  width: 25%;
  text-align: center;
}

div.ruby-menu-demo-f-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto;
  padding: 22px;
  font-size: 30px;
  background: #efefef;
  color: #aaa;
}

div.ruby-menu-demo-f-title {
  width: 100%;
  height: 30px;
  margin: 0 auto;
  margin-top: 20px;
  font-weight: bold;
  font-size: 18px;
}

div.ruby-menu-demo-f-desc {
  font-size: 14px;
  line-height: 24px;
  color: #555;
  padding: 15px;
}

div.ruby-menu-demo-cs-1 table {
  line-height: 20px;
}

div.ruby-menu-demo-cs-1 table tr,
div.ruby-menu-demo-cs-1 table td {
  padding: 0;
  font-weight: bold;
}

div.ruby-menu-demo-cs-1 table td:last-child {
  padding-top: 5px;
}

h2.ruby-menu-demo-slogan-1,
h3.ruby-menu-demo-slogan-1 {
  font-size: 20px;
  font-weight: 300;
  text-transform: uppercase;
  color: #b1b1b1;
  margin: 0;
}

h1.ruby-menu-demo-slogan-2,
h3.ruby-menu-demo-slogan-2 {
  font-size: 36px;
  font-weight: bold;
  text-transform: none;
  color: #222;
  margin: 0;
}

p.ruby-menu-demo-slogan-description,
p.ruby-menu-demo-slogan-description-2 {
  font-size: 16px;
  line-height: 24px;
  color: #444;
  margin: 35px 0;
}

p.ruby-menu-demo-slogan-description-2 {
  color: #666;
  font-weight: 600;
  margin: -10px 0;
}

span.ruby-menu-demo-code {
  color: #888;
  text-decoration: underline;
}

/* Colors */
td.ruby-menu-demo-theme-td-1 {
  max-width: 30px;
  text-align: left;
  padding: 6px;
}

td.ruby-menu-demo-theme-td-2 {
  min-width: 120px;
  text-align: left;
  padding: 6px;
}

td.ruby-menu-demo-theme-td-1:hover {
  cursor: pointer;
}

.ruby-menu-demo-circle {
  border-radius: 50%;
  width: 24px;
  height: 24px;
  border: 4px solid #222;
  display: inline-block;
  margin: 0;
}

.ruby-menu-demo-color-1 {
  background: #1aad86;
}

.ruby-menu-demo-color-2 {
  background: #0c67c2;
}

.ruby-menu-demo-color-3 {
  background: #ce0661;
}

.ruby-menu-demo-color-4 {
  background: #ea7500;
}

.ruby-menu-demo-color-5 {
  background: #74ba27;
}

.ruby-menu-demo-color-6 {
  background: #ff3264;
}

.ruby-menu-demo-color-7 {
  background: #fad814;
}

.ruby-menu-demo-color-8 {
  background: #ccc;
}

.ruby-menu-demo-color-9 {
  background: #111;
  border-color: #ccc;
}

.ruby-menu-demo-color-10 {
  background: #036de2;
  border-color: #489efd;
}

.ruby-menu-demo-color-11 {
  background: #f85252;
  border-color: #444;
}

.ruby-menu-demo-color-12 {
  background: #ca79d0;
  border-color: #f2def3;
}

.ruby-menu-demo-color-13 {
  background: #efefef;
  border-color: #222;
}

.ruby-menu-demo-color-14 {
  background: #ccc;
}

div.ruby-menu-demo-download {
  position: absolute;
  width: auto;
  top: 55px;
  right: 0;
}

div.ruby-menu-demo-download .fa {
  font-size: 20px;
  margin-right: 10px;
}

div.ruby-menu-demo-download > span {
  font-size: 16px;
  display: block;
  margin: 10px 26px;
}

div.ruby-menu-demo-download > span > span {
  font-size: 20px;
  color: #555;
  font-weight: bold;
}

button.ruby-btn {
  background: #19ad86;
  border: 2px solid #19ad86;
  color: #fff;
  border-radius: 0;
  padding: 10px 25px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

button.ruby-btn:hover {
  background: #fff;
  color: #19ad86;
}

/* on/off switches */
.switch {
  display: table-cell;
  vertical-align: middle;
  padding: 10px;
}

.cmn-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.cmn-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input.cmn-toggle-round + label {
  padding: 2px;
  margin-top: -10px;
  width: 40px;
  height: 20px;
  background-color: #dddddd;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}
input.cmn-toggle-round + label:before, input.cmn-toggle-round + label:after {
  display: block;
  position: absolute;
  top: 1px;
  left: 1px;
  bottom: 1px;
  content: "";
}
input.cmn-toggle-round + label:before {
  right: 1px;
  background-color: #f1f1f1;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
  -webkit-transition: background 0.4s;
  -moz-transition: background 0.4s;
  -o-transition: background 0.4s;
  transition: background 0.4s;
}
input.cmn-toggle-round + label:after {
  width: 18px;
  background-color: #fff;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  -ms-border-radius: 100%;
  -o-border-radius: 100%;
  border-radius: 100%;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  -webkit-transition: margin 0.4s;
  -moz-transition: margin 0.4s;
  -o-transition: margin 0.4s;
  transition: margin 0.4s;
}
input.cmn-toggle-round:checked + label:before,
input.cmn-toggle-on + label:before {
  background-color: #8ce196;
}
input.cmn-toggle-round:checked + label:after,
input.cmn-toggle-on + label:after {
  margin-left: 20px;
}

input.cmn-toggle-on:checked + label:before {
  background-color: #f1f1f1;
}

input.cmn-toggle-on:checked + label:after {
  margin-left: 0
}

img.iphone7 {
  max-width: 350px;
  float:right;
  margin-right: 0px;
}

/* MEDIA QUERY --> SMALL DEVICES */
@media(min-width:768px) and (max-width:991px) {

  body {
    overflow-x: hidden;
  }

  div.ruby-menu-demo-description {
    position: relative;
    width: 760px;
    height: 160px;
    margin: 0 auto;
    padding: 0;
  }

  div.ruby-menu-demo-description img {
    max-width: 200px;
    float: left;
    margin: 50px 20px 0 0;
  }

  /* ruby-demo sections */
  div.ruby-menu-demo-bg-light,
  div.ruby-menu-demo-bg-dark {
    width: 760px;
    font-size: 14px;
  }

  div.ruby-menu-demo-cs-1 {
    width: 27%;
  }

  div.ruby-menu-demo-cs-2 {
    width: 73%;
  }

  /* Colors */
  td.ruby-menu-demo-theme-td-1 {
    max-width: 27px;
    padding: 7px;
  }

  td.ruby-menu-demo-theme-td-2 {
    min-width: 100px;
    padding: 7px;
  }

  .ruby-menu-demo-circle {
    width: 22px;
    height: 22px;
    border: 3px solid #222;
  }

  img.iphone7 {
    max-width: 320px;
    float:right;
    margin-right: 20px;
  }

}

/* MEDIA QUERY --> EXTRA SMALL DEVICES */
@media(max-width:767px){

  div.ruby-menu-demo-header {
    width: 100%;
    height: auto;
  }

  div.ruby-menu-demo-description {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 220px;
    padding: 10px;
    text-align: center;
  }

  div.ruby-menu-demo-description img {
    float: none;
    margin: 90px 0 0 0;
  }


  div.ruby-menu-demo-download {
    position: relative;
    width: auto;
    top: 25px;
    right: auto;
    left: auto;
  }

  div.ruby-menu-demo-download > span {
    font-size: 20px;
    margin: 25px auto;
  }

  div.ruby-menu-demo-download > span > span {
    font-size: 26px;
  }

  button.ruby-btn {
    padding: 14px 25px;
    font-size: 16px;
    text-transform: uppercase;
  }

  div.ruby-menu-demo-bg-light.ruby-menu-demo-switches {
    display: none;
  }

  /* ruby-demo sections */
  div.ruby-menu-demo-bg-light,
  div.ruby-menu-demo-bg-dark {
    width: 100%;
    font-size: 16px;
    padding: 25px;
    margin-bottom: -100px;
  }

  div.ruby-menu-demo-cv-1 {
    width: 100%;
  }

  div.ruby-menu-demo-cv-2 {
    width: 100%;
  }

  div.ruby-menu-demo-cv-3 {
    width: 100%;
  }

  div.ruby-menu-demo-cv-4 {
    width: 100%;
  }

  div.ruby-menu-demo-cr-1 {
    width: 100%;
  }

  div.ruby-menu-demo-cr-2 {
    width: 100%;
    margin-top: 40px;
  }

  div.ruby-menu-demo-cf-1,
  div.ruby-menu-demo-cf-2,
  div.ruby-menu-demo-cf-3,
  div.ruby-menu-demo-cf-4 {
    float: left;
    width: 50%;
    text-align: center;
  }

  div.ruby-menu-demo-f-desc {
    margin-bottom: 30px;
  }

  img.iphone7 {
    max-width: 300px;
    float: none;
    margin-right: 0 auto;
  }

}
