/* ===============================
   
   Subnet Calculator Styles
   
   Author: BCH
   Date:   3-18-2014
   
   Notes:
   Hand coded just for fun.
   
   Inspired by Brad Hussey's design in Lesson 8 & 9 of "Build
   a Website form Scratch with HTML & CSS." 
   https://www.udemy.com/build-website-scratch/
      
   Color Palette:
   ------------
	Primary Colors:	
	0776A0 226078 024C68 3AA6D0 62B1D0

	Complementary Colors:	
	FF8500 BF7A30 A65600 FFA340 FFBC73

	Thanks to colorschemedesigner.com
	http://colorschemedesigner.com/#3q22Pw0w0w0w0
	
   Icons
   ------
	Thanks to iconfinder.com
	https://www.iconfinder.com/icons/103429/calculator_icon#size=128
	https://www.iconfinder.com/icons/103514/document_edit_text_icon#size=128
  
=============================== */

/*General*/


body {
	background: #0776A0;
	font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
	font-size: 14px;
}


.container {
	width: 750px;
	margin: 50px auto;
	padding: 40px;
	
}


.container:after {
	content: " ";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}



/*Typography*/

h1,h2,h3 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1 {
	font-size: 30px;
}



/*Header*/


#logo {
	text-align: left;
	color: white;
	background: #024C68;
	margin: 0 auto;
	padding: 1px 2px;

}


/*End Header*/



#main-content {
	width: 920px;
	margin: 0px 0px 0px 120px;
	background: url('images/transparent_white.png') top left repeat;
	border: black solid 1px;
}



#calculator {
	background: #FF8500;
	width: 200px;
	float: left;
	padding: 20px 20px 0;
	margin: 20px 20px 20px 100px;
}

#calculator h3 {
	background: #A65600;
	padding: 10px;
	margin: 0 0 5px;
	color: white;
	position: relative;
	left: -30px;
	padding: 10px 10px 10px 30px;
}

form input[type="button"] {
	box-shadow: 2.5px 2.5px 1.25px #888888;
	width: 200px;
	background: #A65600 top left repeat;
	padding: 10px;
	margin: 0 0 5px;
	color: green;
	position: relative;
	left: -30px;
	padding: 10px 105px 10px 30px;
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
	font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
	/*font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
	*/
}



form input[type="button"]:active {
	color: #226078;
}

form input[type="button"] {
	box-shadow: 2.5px 2.5px 1.25px #888888;
	width: 200px;
	background: #A65600 top left repeat;
	padding: 10px;
	margin: 0 0 5px;
	color: white;
	position: relative;
	left: -30px;
	padding: 10px 105px 10px 30px;
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
	font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
	/*font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
	*/
}


form input {
	display: block;
	width: 160px;
	padding: 5px;
	margin: 0 0 10px;
	border: none;
	font-size: 14px;
	font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}


#calculator .widget {
	margin: 0 0 20px;
}

.widget-hidden {
	display: none;
}


#calculator a:link {
	display: inline-block;
}

#results {
	margin-left: 130px;
	padding: 0 20px 20px;
}





#results h2 {
	font-size: 22px;
	background: #A65600 top left repeat;
	padding: 5px;
	display: inline;
	position: relative;
	top: -15px;
	left: -35px;
}

#results p {
	font-size: 22px;
	font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}

table#subnet-table {
	margin: 10px auto;
	width: 700px;
	background: url('images/transparent_white.png') top left repeat;
	border: 1px solid black;
	font-size: 22px;
	font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace;
	
}

td,th {
 padding: 20px;
 border: 1px dotted black;
 text-align: center;
}





#netInfo {
	color: white;
	
	font-variant:small-caps;
	font-weight:strong;
	font-size:xx-large;
	font-family: "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace;
}



p.lead {
	font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif;
	font-size: 18px;
	margin: 0 0 30px;
}


/* Tool Tips */




.tooltip{
    display: inline;
    position: relative;
}

.tooltip:hover:after{
    background: #333;
    background: rgba(0,0,0,.7);
    border-radius: 5px;
    color: #fff;
    content: attr(title);
  	padding: 5px 15px;
    position: absolute;
    z-index: 98;
    width: 220px;
}

#ipAddress.tooltip:hover:after {
    right: 45px;
    bottom: -20px;
    width: 100px;
}

#subnetMask.tooltip:hover:after {
    right: 45px;
    bottom: -25px;
    width: 150px;
}



/* Footer */



footer.main {
	background: #FF8500;
	color: #f2f3ee;
	padding: 60px 24px;
	height: 50px;
}

footer.main a:hover {
	color: #f2f3ee;
}

#copyright, #credits {
	width: 260px;
	float: left;
	padding: 10px 0 10px 50px;
}

#copyright {
	background: url('images/calc-icon.png') center left no-repeat;
}

#credits {
	background: url('images/doc-icon.png') center left no-repeat;
	float: right;
	
}


/* Force Elements to Self Clear its Children: http://css-tricks.com/snippets/css/clear-fix/ */

.clearfix:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
	}
* html .group             { zoom: 1; } /* IE6 */
*:first-child+html .group { zoom: 1; } /* IE7 */






