@import url(font-awesome.min.css);


* {
  box-sizing: border-box;
}

body {font-family: arial, helvetica, sans-serif; background-color: black;
    margin-top: 0px; 
    margin-bottom: 0px; 
    margin-left: 0px; 
    margin-right: 0px;
}


a:link { /* Essentially means a[href], or that the link actually goes somewhere */
  color: white;
}
a:visited {
  color: white;
}
a:hover {
  color: green;
}
a:active {
  color: red;
}





/* STICKY ================ */
.top-container {
  background-color: #f1f1f1;
  padding: 30px;
  text-align: center;
}

.header {
  background: #555;
  color: #f1f1f1;
  z-index: 900;
}

.content {
  padding: 16px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.sticky + .content {
  padding-top: 102px;
}






/* MENU ACROSS - NAV */

#nav {
  cursor: default;
  
	background-color: red; /*#2E3842;*/
  
	padding: 0;
 
	margin: auto;
     }

		

#nav > ul {margin: 0;
  }


#nav > ul > li {
    position: relative;
    display: inline-block;
    margin-left: 1em;}

    

/* red bar (categories) formatting */
#nav > ul > li a {
	color: #FFFFFF;
    	
			font-weight: bold;
			text-decoration: none;
    	
			text-align: center;
			border: 0;
    	
			display: block;
    			
			padding: 1em 0.5em 1em 0.5em;
    }

    

#nav > ul > li:first-child {
    	margin-left: 0;
    }

    
#nav > ul > li:hover a {
    	color: #FFFFFF;
    }

    
#nav > ul > li.current {
    	font-weight: 900;
    }


    	
#nav > ul > li.current:before {
      -moz-transform: rotateZ(45deg);  	-webkit-transform: rotateZ(45deg);
      -ms-transform: rotateZ(45deg);
      transform: rotateZ(45deg);  	width: 0.75em;
      height: 0.75em;
      content: '';
      display: block;
    		position: absolute;
      bottom: -0.5em;
    left: 10%;
      margin-left: -0.375em;
    		background-color: #D90000;
      background-image: url("images/bg02.png");
    	}

    	

#nav > ul > li.current a {
      color: #fff;
    	}

    
#nav > ul > li.active a {
    	color: #fff;
    }

    
#nav > ul > li.active.current:before {
    	opacity: 0;
    }

	  	
#nav > ul > li > ul {
    	display: none;
    }





/*
a:link { /* Essentially means a[href], or that the link actually goes somewhere */
  color: blue;
}
a:visited {
  color: purple;
}
a:hover {
  color: green;
}
a:active {
  color: red;
}
*/









.parent_top {
  position: relative;
  width: 80%;
  border: 0px solid yellow;
  margin: auto;
}

div.parent_top>img {padding-top: 50px;}

.parent {
  position: relative;
  width: 100%;
  height: 220px;
  border: 0px solid blue;
  margin: auto;
}








/* Create equal columns that floats next to each other */
.column {
  float: left;
  width: 25%;
  padding: 10px;
  height: 400px; /* Should be removed. Only for demonstration */
  margin: auto;
}

.column2 {
  float: left;
  width: 25%;
  padding: 10px;
  margin: auto;
}

/* Create unequal columns that float next to each other */
.column40 {
  float: left;
  width: 50%;
  padding: 10px;
  margin: auto;
  color: white;
}

.column60 {
  float: left;
  width: 50%;
  padding: 20px 10px 0 0;
  margin: auto;
  color: white;
}


.tagline {font-size: 1.5em;
	color: red; 
	padding: 40px 0 20px 0;
	font-weight: bold;
}






.tabs_layout {
	margin: 0 auto; 
	width: 85%; 
}






/* color tabs ======================================================= */
.child {
  position: absolute;
  top: 0;   
}

.child1 {
  left: 0;
  top: 15;
  width: 275px;
  height: 350px;
  margin: auto;
  border-radius: 15px;
  background-color: red;
}

.child2 {
  left: 10; 
  top: -15;
  width: 250px;
  height: 330px;
  margin: 0 2 2 2;
  background-color: white;  
  overflow: hidden;
}

div.child2 img {
  width: 250px;
  height: 135px;
}

.child3 {
  left: 10; 
  top: -15;
  width: 225px;
  height: 280px;
  margin: 0 2 2 2;
  background-color: white;  
  overflow: hidden;
}

#bottom {
  position: absolute;
  bottom: 11;
  margin: auto; 
  left: 50;
  color: white;
  font-size: 1em; 
  text-align: center:
}


#bottom a:link { /* Essentially means a[href], or that the link actually goes somewhere */
  color: white;
}
#bottom a:visited {
  color: white;
}
#bottom a:hover {
  color: black;
}
#bottom a:active {
  color: white;
}

}


.tab_title_sm {
 	color:red; 
	font-size: .8em; 
	margin: 5px 0 0 0;
}

.tab_title_lg {
 	font-size: 1.1em; font-weight: bold;
}

.tab_text {
 	font-size: .9em; 
	line-height: 1.3; 
	margin-top: 9px;
}

.tab_text a:link { /* Essentially means a[href], or that the link actually goes somewhere */
  color: black; text-decoration: none;
 
}
.tab_text a:visited {
  color: black;
}
.tab_text a:hover {
  color: red;
}
.tab_text a:active {
  color: black;
}










/* JUNK DRAWER ==================================== */
.footercol {
  left: 140; 
  top: -15;
  width: 225px;
  height: 280px;
  margin: 20px;
  background-color: black;  
}

.footer_title_lg {
 	font-size: 1.3em; font-weight: bold; color: white; margin-bottom: 20px;
}

.footer_text {
 	font-size: 1em; 
	line-height: 1.6; 
	margin-top: 3px;
	color: white;
}



.footer_text a:link { /* Essentially means a[href], or that the link actually goes somewhere */
  color: white; font-size: 1em;
}
.footer_text a:visited {
  color: gray; font-size: 1em;
}
.footer_text a:hover {
  color: green; font-size: 1em;
}
.footer_text a:active {
  color: red; font-size: 1em;
}




.darklink a:link { /* Essentially means a[href], or that the link actually goes somewhere */
  color: black;
}
.darklink a:visited {
  color: black;
}
.darklink a:hover {
  color: red;
}
.darklink a:active {
  color: black;
}







/* Responsive layout - makes the columns stack on top of each other instead of next to each other */
/* ========================================================================================= */
@media screen and (max-width: 2680px) {
 #mobi_only {display: none;}

.tabs_layout {
	margin: 0 auto; 
	width: 100%; 
}

}




@media screen and (max-width: 900px) {

 #pc_only {display: none;}
 #mobi_only {display: block;}


  .column {
    width: 100%; margin-bottom: 100px;
  }
  .column2 {
    display: block; width: 100%; margin-bottom: 1px;
  }
  .column40 {
    width: 100%; 
font-size: 11pt;
  }
  .column60 {
    width: 100%; 
  }
  .parent_top {width: 95%;}

  div.parent_top>img {padding-top: 0;}

  .tagline {font-size: 1em; padding-bottom: 10px;}

.child1 {
  left: 0;
  top: 15;
  width: 350px;
  height: 390px;
  margin: auto;
  border-radius: 15px;
  background-color: red;
}

.child2 {
  left: 10; 
  top: -15;
  width: 320px;
  height: 380px;
  margin: 0 2 2 2;
  background-color: white;  
  overflow: hidden;
}

div.child2 img {
  width: 350px;
  height: 170px;
}

#bottom {
  position: absolute;
  bottom: 4px;
  margin: auto; 
  left: 80;
  color: white;
  font-size: 1em; 
  text-align: center:
}


.tab_title_sm {
 	color:red; 
	font-size: 1em; 
	margin: 5px 0 0 0;
}

.tab_title_lg {
 	font-size: 1.5em; 

}

.tab_text {
 	font-size: 1.2em; 
	line-height: 1.2; 
	margin-top: 3px;
	color: #404040;
}


.footercol {
  position: relative;
  width: 350px; 
  margin: 20px;
  background-color: gray;  
}

.footer_title_lg {
 	font-size: 1.5em; font-weight: bold; color: white; margin-bottom: 20px;
}

.footer_text {
 	font-size: 1em; 
	line-height: 1.5; 
	margin-top: 3px;
	color: white;
}


}
/* ========================================================================================= */


/* ============================ coding test ==============================*/

.col-container {
  display: table;
  width: 80%;

  padding-top: 50px;
}
.col {
  display: table-cell;
  padding: 16px;
  color: white;
}

@media screen and (max-width: 900px) {

  .col { 
    display: block;
    width: 100%;
  }
}


/* ============================ end: coding test ==============================*/







/*===================*/
/* SHRINK EFFECT
/*===================*/

.shrink-on-hover {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.shrink-on-hover:hover, .shrink-on-hover:focus, .shrink-on-hover:active {
  -webkit-transform: scale(.9);
  transform: scale(.9);
}






/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}