/*
Theme Name: COntr3as 2017

Author: Marlin Tech - Eddie Rodriguez
Author URI: http://marlintech.us/

Version:       1.0

*/
/**************** VARIABLES **************************/
/**************** MIXINS **************************/
/**************** TYPOGRAPHY **************************/
html {
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}

p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', san-serif;
  font-size: 62.5%;
}

h1 {
  font-size: 3.2rem;
  font-family: 'Lora', serif;
  font-weight: 400;
  color: #605d5d;
}

h2 {
  font-size: 2.8rem;
  font-family: 'Lora', serif;
  font-weight: 400;
  color: #605d5d;
}

h3 {
  font-size: 2.4rem;
  font-family: 'Lora', serif;
  font-weight: 400;
  color: #605d5d;
}

h4 {
  font-size: 2.0rem;
  font-weight: 700;
  color: #0168b0;
}

h5 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0168b0;
}

h6 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0168b0;
}

p {
  font-size: 1rem;
  line-height: 120%;
  margin-bottom: 15px;
  text-align: justify;
  font-weight: 300;
}

/* Links */
a {
  text-decoration: none;
}

.bigger-text {
  font-size: 125%;
}

.smaller-text {
  font-size: 85%;
}

/** Responsive Line Breaks **/
.br36 {
  display: block;
}
@media screen and (min-width: 36em) {
  .br36 {
    display: none;
  }
}

.br40 {
  display: block;
}
@media screen and (min-width: 40em) {
  .br40 {
    display: none;
  }
}

.br50 {
  display: block;
}
@media screen and (min-width: 50em) {
  .br50 {
    display: none;
  }
}

/** Text Alignment **/
.align-right {
  text-align: right;
}

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

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

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

/**************** Things I Hid **************************/
.widget {
  list-style: none;
}

#branding {
  position: absolute;
  left: -9999px;
}

.page .entry-title, .widget-title {
  position: absolute;
  left: -9999px;
}

.breadcrumbs {
  display: none;
}

a img {
  border: none;
}

/**** HEADER NAVIGATION ****/
#nav_menu-2 {
  margin: 0 auto;
  padding: 0;
  height: 40px;
  color: white;
  background: #0168b0;
  text-align: center;
  width: 100%;
  z-index: 9999;
}

#nav_menu-2 .menu {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: none;
  flex-flow: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  line-height: 40px;
}
@media screen and (min-width: 1000px) {
  #nav_menu-2 .menu {
    width: 70%;
  }
}
#nav_menu-2 .menu li {
  list-style: none;
  border-right: 1px solid black;
  border-left: 1px solid black;
  padding: 2px 0;
  width: 33%;
}
#nav_menu-2 .menu li:first-of-type {
  border-right: none;
}
#nav_menu-2 .menu li:last-of-type {
  border-left: none;
  border-bottom: none;
}
#nav_menu-2 .menu li:hover {
  background: rgba(0, 43, 74, 0.5);
}
#nav_menu-2 .menu a {
  display: block;
  text-align: center;
  color: white;
  font-size: 1.3rem;
}

.current-menu-item {
  background: rgba(0, 43, 74, 0.5);
}

/**************** HEADER **************************/
#header {
  width: 100%;
  margin: 0 auto;
}

.header-logo {
  margin: 0 auto;
  width: 70%;
}
@media screen and (min-width: 800px) {
  .header-logo {
    width: 50%;
  }
}
@media screen and (min-width: 1000px) {
  .header-logo {
    width: 40%;
  }
}
.header-logo img {
  width: 100%;
}

/**************** FOOTER **************************/
#footer {
  width: 100%;
  margin: 0 auto;
}

#copyright {
  text-align: center;
}

/**************** PAGE CONTENT **************************/
body {
  background: url(http://graphicjax.com/marlintech/contr3as/wp-content/uploads/subtle_stripes.png);
}

#container {
  width: 90%;
  margin: 20px auto;
  background: white;
}
@media screen and (min-width: 1050px) {
  #container {
    width: 75%;
  }
}

.flexbox {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  flex-flow: none;
  margin: 20px auto;
}

/* Main Content */
#main-content #wrapper {
  padding: 20px;
}

.copy-pic, .copy-pic-right, .copy-pic-left {
  margin: 0 auto;
  padding: 15px;
}
@media screen and (min-width: 1050px) {
  .copy-pic, .copy-pic-right, .copy-pic-left {
    width: 35%;
  }
}

@media screen and (min-width: 1050px) {
  .copy-pic-right {
    float: right;
  }
}

@media screen and (min-width: 1050px) {
  .copy-pic-left {
    float: left;
  }
}

/**** HOME PAGE ****/
.blue-bar {
  width: 100%;
  padding: 10px 30px;
  background: #0168b0;
}
.blue-bar p {
  font-weight: 500;
  color: white;
}

.three-section-bar {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
  width: 100%;
  margin: 40px auto;
}
.three-section-bar .section {
  width: 90%;
  margin: 0 auto;
  padding: 15px;
  text-align: center;
  border-bottom: 1px #0168b0 solid;
}
@media screen and (min-width: 1050px) {
  .three-section-bar .section {
    width: 33.33%;
    margin: 0;
    padding: 0 3%;
    border: none;
    border-right: 1px #0168b0 solid;
  }
}
.three-section-bar .section:last-of-type {
  border: none;
}
.three-section-bar img {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

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

/**** CONTACT PAGE ****/
.contact-form {
  width: 90%;
}
@media screen and (min-width: 1050px) {
  .contact-form {
    width: 50%;
    padding-right: 30px;
  }
}

.contact-map {
  width: 90%;
}
@media screen and (min-width: 1050px) {
  .contact-map {
    width: 50%;
    padding-left: 30px;
  }
}

/**************** METASLIDER **************************/
/**************** CONTACT FORM **************************/
.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap textarea {
  width: 100%;
  padding: 3px;
}

/* Apply a natural box layout model to all elements: http://paulirish.com/2012/box-sizing-border-box-ftw/ */
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-width: 290px;
}

.clrfloat {
  clear: both;
}

.clrright {
  clear: right;
}

.clrleft {
  clear: left;
}

.fltleft {
  float: left;
}

.fltright {
  float: right;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/**************** STICKY FOOTER **************************/
html {
  height: 100%;
}

body {
  height: 100%;
}

#main-content {
  min-height: 100%;
  padding-bottom: 100px;
}

#footer {
  width: 100%;
  min-height: 200px;
}
