/*
 *+++++++++++++++++++++++++++++++++++++++ Global styles
 * 
 * --------------- css components
 * -------- hr / buttons etc
 * 
 * -------- flexslider
 * 
 * --------------- regional
 * -------- site-header
 * 
 * +++++++++++++++++++++++++++++++++++++++ navigation bar
 * 
 * +++++++++++++++++++++++++++++++++++++++ site-banner
 * 
 * +++++++++++++++++++++++++++++++++++++++ features
 * 
 * +++++++++++++++++++++++++++++++++++++++ services
 * 
 * +++++++++++++++++++++++++++++++++++++++ gallery
 * 
 * +++++++++++++++++++++++++++++++++++++++ footer
 * 
 * +++++++++++++++++++++++++++++++++++++++ media queries
 *  
 */

/*							NOTE
 * 	-------------------------------------------------------------------
 * to change the background image of banner you could open the script.js file and 
 * change the following code block
 * 
 *
 
	$("body").backstretch("images/backgrounds/image.png");

 */

/*
 * +++++++++++++++++++++++++++++++++++++++ Global styles+++++++++++++++++++++++++++++++++++++++ 
 */


body {
  font-family: 'Roboto', sans-serif;
}

h1,
h2,
h3,
h4 {
  text-transform: uppercase;
}

.red {
  color: #c85050;
}

.hr {
  display: block;
  width: 100%;
  height: 20px;
  background: url(../images/backgrounds/line.png) center no-repeat;
  margin-bottom: 5em;
}

/*flexslider*/
div.flexslider {
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0px;
  box-shadow: none;
  text-align: center;
  color: #f4f4f4;
  font-weight: 500;
  font-size: 1.2em;
}

div.flexslider .flex-control-paging li a {
  background: #c85050;
  width: 20px;
  height: 20px;
  text-align: left;
}

div.flexslider .flex-control-paging li a.flex-active {
  background: #5ab790;
}


/*buttons*/
.btn-primary {
  padding: 1em 2em;
  border: 1px solid #4387cc;
  background: transparent;
  text-transform: uppercase;
  margin-right: 1.5em;
  margin-bottom: 10px;
  transition: all 0.3s;
  color: #4387cc;
  display: inline-block;
}
.btn-primary:hover {
  text-decoration: none;
  background: #f4f4f4;
  color: #323232;
}
.btn-buy {
  background: #5ab790;
  color: #f4f4f4;
  box-shadow: 0 0 0 3px #5ab790;
  border: 2px solid rgba(0, 0, 0, 0.3);
}
.btn-buy:hover {
  background: transparent;
  color: #5ab790;
}
.btn-demo {
  background: #4387cc;
  color: #f4f4f4;
  box-shadow: 0 0 0 3px #4387cc;
  border: 2px solid rgba(0, 0, 0, 0.3);
}
.btn-demo:hover {
  background: transparent;
  color: #4387cc;
}


/*
 * ++++++++++++ regional styles+++++++++++++
 */

/*section-header*/
.site-section .site-header {
  margin-top: 10em;
  text-align: center;
}
.site-section .site-header > h1 {
  border: 1px solid #f4f4f4;
  display: inline-block;
  color: #f4f4f4;
  background: #5ab790;
  text-transform: uppercase;
  margin-bottom: 1.5em;
  font-weight: 900;
  padding: 0.5em 0.5em;
  border: 3px solid #f4f4f4;
  box-shadow: 0 0 0 3px #5ab790;
  position: relative;
}
.site-section .site-header > h1:before {
  font-family: 'FontAwesome';
  content: '\F055 ';
  margin-right: 1em;
}
.site-section .site-header > h1:after {
  font-family: 'FontAwesome';
  content: '\F055 ';
  margin-left: 1em;
}
.site-section .site-header > p {
  color: #323232;
  font-weight: 300;
  font-size: 1.5em;
  margin-bottom: 2em;
}


/*
 * +++++++++++++++++++++++++++++++++++++++ navigation menu +++++++++++++++++++++++++++++++++++++++ 
 */
.navbar-ml {
  background-color: #f4f4f4;
  border-color: none;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  margin-bottom: 0;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.2);
}
.navbar-ml .navbar-brand {
  color: #323232;
  font-weight: 900;
  font-size: 3em;
}
.navbar-ml .navbar-brand:hover,
.navbar-ml .navbar-brand:focus {
  color: none;
  background-color: transparent;
}
.navbar-ml .navbar-text {
  color: #323232;
}
.navbar-ml .navbar-nav > li {
  position: relative;
  margin-right: 0px;
}
.navbar-ml .navbar-nav > li > a {
  color: #323232;
  font-size: 14px;
  padding: 6px 15px;
  margin-top: 20px;
  font-weight: 600;
}
.navbar-ml .navbar-nav > li > a:hover,
.navbar-ml .navbar-nav > li > a:focus {
  color: #f4f4f4;
  background-color: #c85050;
}
.navbar-ml .navbar-nav > .active:after {
  content: ' ';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #c85050;
  bottom: -5px;
  right: 41%;
  transform: rotate(45deg);
}
.navbar-ml .navbar-nav > .active > a,
.navbar-ml .navbar-nav > .active > a:hover,
.navbar-ml .navbar-nav > .active > a:focus {
  color: #f4f4f4;
  background-color: #c85050;
}
.navbar-ml .navbar-nav > .disabled > a,
.navbar-ml .navbar-nav > .disabled > a:hover,
.navbar-ml .navbar-nav > .disabled > a:focus {
  color: #444444;
  background-color: transparent;
}
.navbar-ml .navbar-toggle {
  border-color: #333333;
}
.navbar-ml .navbar-toggle:hover,
.navbar-ml .navbar-toggle:focus {
  background-color: #f4f4f4;
}
.navbar-ml .navbar-toggle .icon-bar {
  background-color: #323232;
}
.navbar-ml .navbar-collapse,
.navbar-ml .navbar-form {
  border-color: #e2e2e2;
}
.navbar-ml .navbar-nav > .open > a,
.navbar-ml .navbar-nav > .open > a:hover,
.navbar-ml .navbar-nav > .open > a:focus {
  background-color: #c85050;
  color: #f4f4f4;
}
.navbar-ml .navbar-nav > .dropdown > a:hover .caret {
  border-top-color: #f4f4f4;
  border-bottom-color: #f4f4f4;
}
.navbar-ml .navbar-nav > .dropdown > a .caret {
  border-top-color: #323232;
  border-bottom-color: #323232;
}
.navbar-ml .navbar-nav > .open > a .caret,
.navbar-ml .navbar-nav > .open > a:hover .caret,
.navbar-ml .navbar-nav > .open > a:focus .caret {
  border-top-color: #f4f4f4;
  border-bottom-color: #f4f4f4;
}
@media (max-width: 767px) {
  .navbar-ml .navbar-nav .open .dropdown-menu > .dropdown-header {
    border-color: none;
  }
  .navbar-ml .navbar-nav .open .dropdown-menu > li > a {
    color: #323232;
  }
  .navbar-ml .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-ml .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #f4f4f4;
    background-color: #c85050;
  }
  .navbar-ml .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-ml .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-ml .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #f4f4f4;
    background-color: #c85050;
  }
  .navbar-ml .navbar-nav .open .dropdown-menu > .disabled > a,
  .navbar-ml .navbar-nav .open .dropdown-menu > .disabled > a:hover,
  .navbar-ml .navbar-nav .open .dropdown-menu > .disabled > a:focus {
    color: #444444;
    background-color: transparent;
  }
}
.navbar-ml .navbar-link {
  color: #323232;
}
.navbar-ml .navbar-link:hover {
  color: #f4f4f4;
}



/*
 * +++++++++++++++++++++++++++++++++++++++Site banner+++++++++++++++++++++++++++++++++++++++ 
 */


#site-banner {
  padding: 11em 6em;
  background: rgba(0, 0, 0, 0.2);
  border: 20px solid #f4f4f4;
  border-top: none;
  color: #f4f4f4;
}
#site-banner img {
  margin: 0 auto;
}
#site-banner h1 {
  font-size: 2.4em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
  margin-top: 2em;
  display: inline-block;
  padding: 0.2em;
  background: #5ab790;
  color: #f4f4f4;
}
#site-banner p {
  font-weight: 400;
  margin-bottom: 4em;
  font-weight: 300;
  font-size: 1.2em;
}

/*
 * +++++++++++++++++++++++++++++++++++++++features+++++++++++++++++++++++++++++++++++++++ 
 */


#features {
  background: transparent url(../images/backgrounds/white-bg.png) repeat;
}
.featured {
  list-style: none;
  padding: 1em 0;
  margin: 3em 0 3em;
}
.featured:before,
.featured:after {
  content: " ";
  display: table;
}
.featured:after {
  clear: both;
}
.featured > li {
  float: left;
  width: 24%;
  text-align: center;
  padding: 5px 10px;
}
.featured > li > a {
  display: block;
  padding: 10px 0;
  color: #323232;
}
.featured > li > a:hover {
  text-decoration: none;
}
.featured > li h2 {
  background: #5ab790;
  color: #f4f4f4;
  border: 1px solid #f4f4f4;
  box-shadow: 0 0 0 3px #5ab790;
  padding: 5px 0 7px;
  border-top: 1px solid #f4f4f4;
  border-bottom: 1px solid #f4f4f4;
  margin-bottom: 1em;
}
.featured > li p {
  color: #7f7f7f;
}


/*
 * +++++++++++++++++++++++++++++++++++++++ services styles+++++++++++++++++++++++++++++++++++++++ 
 */ 
 
 
.services-holder {
  background: #ececec url(../images/backgrounds/item-bg-white.png) center bottom no-repeat;
  padding-top: 10em;
  padding-bottom: 9em;
}
.services {
  list-style: none;
}
.services:before,
.services:after {
  content: " ";
  display: table;
}
.services:after {
  clear: both;
}
.services > li {
  width: 50%;
  float: left;
  margin-bottom: 2em;
}
.services .icon-holder {
  float: left;
  width: 17%;
}
.services .icon-holder > i {
  color: #4387cc;
}
.services .text-holder {
  float: right;
  width: 83%;
  padding-right: 2em;
}
.services .text-holder > h2 {
  display: inline-block;
  color: #c85050;
  border-bottom: 1px solid #989898;
  padding: 0;
  margin: 0;
}
.services .text-holder > p {
  color: #585858;
}


/*
 * +++++++++++++++++++++++++++++++++++++++ gallery styles+++++++++++++++++++++++++++++++++++++++ 
 */

#gallery {
  background: transparent url(../images/backgrounds/white-bg.png);
}
#gallery h2 {
  color: #4387cc;
  display: inline-block;
  border-bottom: 1px solid #989898;
  margin: 0 0 1em;
}
#gallery h2 + p {
  color: #656565;
  font-size: 1.1em;
  margin: 0 0 1.5em;
}
#gallery p.desc {
  color: #4c4c4c;
  font-size: 1.3em;
  margin: 0 0 2em;
}
#gallery .item {
  margin: 8em 0 8em;
}
#gallery .item .flexslider {
  margin-bottom: 5em;
}
#gallery .btn-buy {
  border: 2px solid #f4f4f4;
}
#gallery .btn-demo {
  border: 2px solid #f4f4f4;
}
.item-features {
  list-style: none;
  color: #757575;
  margin: 0 0 3em;
  padding: 0;
}
.item-features > li {
  font-size: 1.3em;
}
.item-features > li.ok:before,
.item-features > li.cross:before {
  font-family: 'FontAwesome';
  margin-right: 1em;
}
.item-features > li.ok:before {
  content: '\F05D';
  color: #5ab790;
}
.item-features > li.cross:before {
  content: '\F05C';
  color: #c85050;
}


/*
 * +++++++++++++++++++++++++++++++++++++++ footer styles+++++++++++++++++++++++++++++++++++++++ 
 */

#site-footer form {
  padding: 0;
  margin-top: -40px;
  margin-bottom: 50px;
  text-align: center;
}
#site-footer form input[type=email] {
  outline: none;
  border: 1px solid #f4f4f4;
  background: transparent;
  padding: 20px 30px;
  color: #f4f4f4;
  width: 45%;
  margin-bottom: 20px;
}
#site-footer form button {
  outline: none;
  border: 1px solid #f4f4f4;
  background: #f4f4f4;
  padding: 20px 40px;
  color: #5ab790;
  margin-bottom: -30px;
}
#site-footer form button:hover {
  background: transparent;
  color: #f4f4f4;
  margin-bottom: -30px;
  transition: all 0.4s;
}
#site-footer form label {
  display: block;
  color: #f4f4f4;
}
#site-footer footer.section-footer {
  color: #f4f4f4;
  background: #323232;
  text-align: center;
  padding-top: 20px;
}
#site-footer footer.section-footer .copy-info > a {
  color: #f4f4f4;
  padding: 0;
}
#site-footer footer.section-footer .footer-nav {
  list-style: none;
}
#site-footer footer.section-footer .footer-nav > li {
  display: inline;
}
#site-footer footer.section-footer .footer-nav > li > a {
  display: inline-block;
  margin-right: 30px;
  color: #8e8e8e;
  transition: all 0.2s;
  text-decoration: none;
}
#site-footer footer.section-footer .footer-nav > li > a:hover {
  color: #f4f4f4;
}
.footer-wrapper {
  background: #5ab790;
}
.footer-wrapper .site-header {
  margin-top: 3em;
  text-align: center;
}
.footer-wrapper .site-header > h1 {
  display: inline-block;
  text-transform: uppercase;
  border: none;
  box-shadow: none;
  padding: 0;
}
.footer-wrapper .site-header > h1:before {
  content: '';
}
.footer-wrapper .site-header > h1:after {
  content: '';
}



/*
 * +++++++++++++++++++++++++++++++++++++++ media queries+++++++++++++++++++++++++++++++++++++++ 
 */
@media screen and (max-width: 1024px) {
  .services > li {
    width: 100%;
    text-align: center;
  }
  .services .icon-holder {
    width: 100%;
    text-align: center;
  }
  .services .text-holder {
    width: 100%;
  }
  .featured > li {
    width: 50%;
  }
  #site-banner {
    text-align: center;
  }
}
@media screen and (max-width: 800px) {
  .navbar-ml .navbar-nav > .active:after {
    right: 50%;
  }
}
@media screen and (max-width: 480px) {
  .featured > li {
    width: 100%;
    padding: 5px;
  }
  .navbar-ml .navbar-brand {
    font-size: 2em;
  }
  .site-section .site-header > h1 {
    font-size: 2em;
  }
}
