/*
-----------------------------------------------
devtest.imarketbeta.com 
Stylesheet: master.css
Created: 11/12/2013
Author: Ben Schilling
Organization: iMarket Solutions
----------------------------------------------- */

/* Universal Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #c6c6c6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 62.5%;
}

h1 {
  font-size: 3em;
  margin: 0 0 0.3em;
}

h2 {
  font-size: 2em;
  margin: 0 0 0.3em;
}

p, ul, ol {
  margin: 0 0 10px;
  font-size:1.3em;
  line-height:1.2em;
}

ul, ol {
  margin: 0 15px 10px;
}

img {
    max-width: 100% !important; 
    height: auto;
}

/* Masthead */
#masthead-container {
  background:#fff;
  border-top: 5px solid #50B4D5;
  overflow:hidden;
}


#masthead {
  height: 90px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 960px;
}

#main-logo {
  left: 5px;
  position: absolute;
  top: 10px;
}

#header-right {
    width: 50%;
    float: right;
    text-align: right;
}

#tagline {
  font-size: 2em;
  font-style: italic;
  font-weight: bold;
  margin: 10px 0 0 0;
  position: relative;
  right: 70px;
}

.phone-number {
  color: #720F15;
  font-size: 4.4em;
}



/*Navigation */
#primary-nav-container,
.secondary-tools .cta-button,
input[type='submit'] {
	background: #ffd391; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZDM5MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZjk5MDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #ffd391 0%, #ff9900 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffd391), color-stop(100%,#ff9900)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffd391 0%,#ff9900 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffd391 0%,#ff9900 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffd391 0%,#ff9900 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffd391 0%,#ff9900 100%); /* W3C */
}

#primary-nav {
  margin: 0 auto;
  width: 960px;
}

#primary-nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0.4em 0;
  text-align: left;
}

#primary-nav li {
  display: inline-block;
  margin-right: -4px;
  font-size: 2em;
  padding: 5px 20px;
}

#primary-nav li a:link,
#primary-nav li a:visited {
  color: #fff;
  text-decoration:none;
  text-shadow: 0 1px 1px #000;
}

#primary-nav li a:hover,
#primary-nav li a:active {
  color:#000;
  text-shadow: none;
}


/*Content */

#content-container {
	background: #3d3d3d; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzNkM2QzZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjNmM2YzYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #3d3d3d 0%, #c6c6c6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3d3d3d), color-stop(100%,#c6c6c6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #3d3d3d 0%,#c6c6c6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #3d3d3d 0%,#c6c6c6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #3d3d3d 0%,#c6c6c6 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #3d3d3d 0%,#c6c6c6 100%); /* W3C */
	
	overflow:hidden;
}

#content {
  background: none repeat scroll 0 0 #EFEFEF;
  border: 1px solid #FF9900;
  border-radius: 0.5em;
  box-shadow: 0 1px 3px #000000;
  margin: 10px auto;
  width: 960px;
  overflow:hidden;
}

#content-sidebar-wrap {
    float: right;
    width: 75%;
}

#main-content,
#right-sidebar {
  display:inline-block;
  margin-right: -2px;
  vertical-align:top;
}

#right-sidebar {
    width: 35%;
}

#left-sidebar {
  width: 25%;
  float: left;
}

#main-content {
  margin-top: 10px;
  width: 65%;
}

#main-content > h1,
#main-content > h2,
#main-content > p,
#main-content > div,
.indent-list {
  margin-left:10px;
}

.secondary-tools {
  background: none repeat scroll 0 0 #FFFFFF;
  border: 2px solid #50B4D5;
  border-radius: 0.5em;
  margin: 4%;
  overflow: hidden;
}

.secondary-tools h2 {
    background: none repeat scroll 0 0 #50B4D5;
    background: -moz-linear-gradient(top,  #a8dbec 0%, #50B4D5 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a8dbec), color-stop(100%,#50B4D5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #a8dbec 0%,#50B4D5 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #a8dbec 0%,#50B4D5 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #a8dbec 0%,#50B4D5 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #a8dbec 0%,#50B4D5 100%); /* W3C */
    color: #FFFFFF;
    font-weight: normal;
    line-height: 1.4em;
    text-align: center;
    text-shadow: 0 1px 1px #000000;
}

.secondary-tools p,
.secondary-tools ul {
  margin-left:10px;
  margin-right:10px;
}

.secondary-tools p.source {
  text-align:right;
  font-style:italic;
}

.secondary-tools ul {
  list-style-type:none;
}

.secondary-tools ul li {
  font-weight:bold;
  font-size:1.4em;
  color:#ce0000;
  margin:10px 0;
}

.secondary-tools ul li span {
  display: block;
  font-size: 0.75em;
  font-style: italic;
  line-height: 1.4em;
}

.secondary-tools .cta-button {
  border: 0 none;
  border-radius: 0.2em;
  box-shadow: 0 1px 1px #000000;
  color: #000000;
  cursor:pointer;
  display: block;
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1em;
  margin: 10px auto;
  padding: 6px 0;
  text-align:center;
  text-decoration:none;
  text-shadow: 0 1px 1px #ffffff;
  width: 80%;
}

.secondary-tools .cta-button:hover,
input[type='submit']:hover {
  background:#50B4D5;
  color:#ffffff;
  text-shadow:none;
  box-shadow:none;
}

.secondary-tools #contact-form {
    display: none;
}


/* Content copy styles */

.red-bold {
    color: #f00;
    font-weight: bold;
}

.yellow-img {
    border: 1px solid #FF9900;
}

.right-img {
    float: right;
}

.quoted {
    font-style: italic;
    float: right;
    padding: 5px 0;
}




/* Form */

input, textarea {
  border:1px solid #999;
  border-radius: 0.3em;
  display:block;
  font-family: Arial, Helvetica, sans-serif;
  font-size:1.2em;
  margin: 0 auto;
  padding: 3px;
  width: 80%;
}

label {
  display:block;
  margin: 0.3em 10%;
  font-size:1.3em;
  width: 25%;
}

input[type='submit'] {
  cursor:pointer;
  margin:10px auto;
  font-size: 1.4em;
}

fieldset {
  border: none;
}

/* Footer */

#footer-information {
  background: #fff;
  margin: 10px auto 0;
  border: 1px solid #50B4D5;
  border-width: 2px 0;
  padding: 10px 0;
  text-align:center;
}

#footer-information p {
  margin: 0;
}


/* Media Queries Start */


/* Content and Sidebar Break */
@media (max-width: 960px) {
    #masthead,
    #content,
    #main-content,
    #content-sidebar-wrap,
    #right-sidebar,
    #left-sidebar,
    #primary-nav {
        width: 100%;
        float: none;
    }
    
    #masthead,
    #content {
        padding: 0 10px;
    }
    
    #header-right {
        margin: auto 10px;
    }

    .secondary-tools {
        width: 300px;
        max-width: 100%;
        margin: 4% auto;
    }
    
    #left-sidebar .secondary-tools {
        margin: auto auto 4%;
    }
    
    .tablet-center {
        text-align: center;
    }
}


/* Masthead Downsized */
@media (max-width: 700px) {
 .phone-number {
        font-size: 3.2em;
    } 
    
    #tagline {
        right: 36px;
    }    
}


/* Mobile */
@media (max-width: 570px) {
     #masthead {
        height: auto;
    }
    
    #header-right {
        width: 100%;
        float: none;
        text-align: center;
        margin: auto auto;
    }
    
    #tagline {
        right: 0;
    }
    
    #main-logo {
        position: relative;
        left: 0;
        top: 0;
        text-align: center;
        width: 100%;
    }

    .phone-number {
        font-size: 2.4em;
    }
    
    #primary-nav ul {
        text-align: center;
    }
    
    .right-img {
        float: none;
        text-align: center;
        margin: 10px;
    }
}