*, *::before, *::after {box-sizing: border-box;}

:root{
    --clr-primary: #007d00;
    --clr-dark: #D58936;
    --clr-light: #F2F2F2 ;
    --clr-links: #1a489d;
    --clr-accent: #d84a38;
    --clr-text: #333333;
    --fw-normal: 400;
    --fw-normal: 700;
    --fw-normal: 900;
}

/*border: 2px solid red;*/

body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--clr-text);
  background-color: var(--clr-light);
}

img{
    max-width: 100%;
}

h1{
   font-size: 2.5rem;  
}

h2{
   font-size: 1.5rem; 
}

.big-text1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.big-text2 {
  font-size: 1.5rem;
  /*font-weight: bold;*/
}

a {
    text-decoration: none;
    color: var(--clr-links);
        
}
a:hover {
    text-decoration: underline;
}

.container{
    width:100%;
    max-width: 980px;
    margin: 0 auto; 
    position: relative;
    background-color: white;
    margin-top: 130px;
    padding: 1em;
    border-radius: 1em;
    
}

.header_container{  
  max-width: 980px;
  margin: 0 auto;
  /* background-color: white; */
  padding: .5em 0;
  justify-content: space-between; 
  display: flex;
  align-items: center;      
}

.header_1{
  background-color: white;
  position: fixed;
  top: 0;
  z-index: 1; 
  width: 100%;
  border-bottom: 4px solid var(--clr-light);
}


/* Header View and Nav */
.header_nav{
    max-width: 1440px;    
    display: flex;
    justify-content:left ;
    /* background-color: white; */
    /* margin: .5em 2em .5em 0; */
    align-items: center;
}

.nav-toggle{
  margin-right: 1em;
}

.account_nav a{
  color: var(--clr-text);
}

/* .account_nav a:hover{
  color: var(--clr-primary);
} */

.nav_item + .nav_item {
    margin-right: .25em;
}


/* .headercontainer{
    max-width: 980px;
    margin: 0 auto;
    display:flex;
    justify-content: space-between;
    align-items: center;
    
} */


/* Home Page */
.containerhomebottom{
    display: flex;
    background: var(--clr-light);    
}

.homebottomleft{
   width: 50%;
   text-align: center;
   padding: 1em;
   border: 1px solid grey;
   border-bottom-left-radius: 1em;
}

.homebottomright{
   width: 50%;
   text-align: center;
   padding: 1em;
   border: 1px solid grey;
   border-bottom-right-radius: 1em; 
}

.homeheader{
    margin: 0 auto;
    max-width: 980px;   
    /* background: var(--clr-primary);; */
    /*background-image: url("../images/hero.webp");*/
    background-image: url("../images/los_angeles.webp");
    /*background-color:#9bd8d8;*/ 
    color: var(--clr-text);
    padding: 0 2rem;
    border-top-left-radius:  1em;
    border-top-right-radius:  1em;
    text-align: center;
    
}

.homeheader h1{
    font-weight: 100;
    margin:0;  
    line-height: 1.5em;
}

.homeheader h2{
    font-weight: 200;
    font-size: 1.3rem;
    margin: 0;
}

/* Footer Include */
.footer_container{
  background-color: white;
  max-width: 980px;
  margin: 0 auto;
}

.footer{
    /* margin-top: 1.5em; */
    padding-top:  1em;
    border-top: 4px solid var(--clr-light);
    justify-content: space-between;
    text-align: center; 
    display: flex;
    flex-wrap: wrap;
}

.footer_nav{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}


/* Courses Page */
.coursesbanner{
    /* background-color: var(--clr-primary); */
    background-image: url("../images/books.jpg");
    min-height: 253px;
    color: white;
    display:flex;
    flex-direction: column;
    border-radius: 1em;
    /* padding-left: 1em;  */
    /* padding-bottom: 1em; */
    justify-items: center;
    align-items: center;
    justify-content: center;
}

.coursesbanner h2{
  text-align: center;
  padding: 0 1em 0 1em;
}

.coursesbannertext{
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.courses{
    /* border: 2px solid blue; */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between ;
    padding-top:2em;
}

.coursedetail{
    /* border: 2px solid green; */
    /* max-width: 48%; */
    flex-grow: 1;
    /* background-color: var(--clr-light); */
    /* border-radius: .5em;  */
    border-bottom: 2px solid grey; 
    /* padding-bottom: .5em;   */
}


.coursedetailcontainer{
    /* border: 2px solid red; */
    /* margin: 1em; */
    display: flex;
    flex-direction: column;
    padding: 1em;    
}

.coursedetailcontainer:hover{
  background-color:var(--clr-light);
}

.coursesCol2{
  /* border: 2px solid pink; */
  display: flex;
  justify-content:space-between;
  flex-wrap:wrap;
  
}

.coursesData{
  margin-right: .5em;
}



.btn {
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    color:white;
    font-weight: 900;
    border: #3093c7 4px solid;
    padding: .25em 1em;
    border-radius: 1em;
    background: #3093c7;
    margin-bottom: 1em;
}

.btn:hover,
.btn:focus{
  opacity:.75;
}

/* COURSE DETAIL PAGE */

.courseTitle{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.course-image{
  float: left;
  margin-right:1em;
}

.course-lower{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.courseIncluded{
  max-width: 400px;
  margin: 0 .5em;
}

.courseIncluded h3{
  background-color: var(--clr-accent);
  color: white;
  text-align: center;
}

.courseDetails{
max-width: 400px;
margin: 0 .5em;
}

.courseDetails h3{
background-color: var(--clr-accent);
color: white;
text-align: center;
}


/* MEMBERSHIP PAGE */

.membership_title{
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: center;
  align-content: left;
  background-image: url("../images/membership.jpg");
  height: 250px;
  color: white;
  border-radius: 1em;
   
}

.membershipbannertext{
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .5em;

}

.membershipbanner h2{
  text-align: center;
  padding: 0 1em 0 1em;
}

.membershipDesc{
  padding: 1em;
}

.membershipIncluded{
  flex-basis: 0;
  flex-grow: 1;
  
}


.membershipDetails{
  display: flex;
  justify-content: space-between;
  flex-direction:column-reverse;
}


.membershipButton input[type=submit]{
  border:1px solid #25729a; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:15px;font-family:arial, helvetica, sans-serif; padding: 10px 10px 10px 10px; text-decoration:none; display:inline-block;text-shadow: -1px -1px 0 rgba(0,0,0,0.3);font-weight:bold; color: #FFFFFF;
  background-color: #3093c7; background-image: -webkit-gradient(linear, left top, left bottom, from(#3093c7), to(#1c5a85));
  background-image: -webkit-linear-gradient(top, #3093c7, #1c5a85);
  background-image: -moz-linear-gradient(top, #3093c7, #1c5a85);
  background-image: -ms-linear-gradient(top, #3093c7, #1c5a85);
  background-image: -o-linear-gradient(top, #3093c7, #1c5a85);
  background-image: linear-gradient(to bottom, #3093c7, #1c5a85);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#3093c7, endColorstr=#1c5a85);
  cursor:pointer;
}

.membershipButton input[type=submit]:hover{
 border:1px solid #1c5675;
 background-color: #26759e; background-image: -webkit-gradient(linear, left top, left bottom, from(#26759e), to(#133d5b));
 background-image: -webkit-linear-gradient(top, #26759e, #133d5b);
 background-image: -moz-linear-gradient(top, #26759e, #133d5b);
 background-image: -ms-linear-gradient(top, #26759e, #133d5b);
 background-image: -o-linear-gradient(top, #26759e, #133d5b);
 background-image: linear-gradient(to bottom, #26759e, #133d5b);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#26759e, endColorstr=#133d5b);
}

/* Shopping CART */

/* .cart{
  border:1px solid #1c5675;} */

.cart1{
  display: flex;
  flex-direction: column;
  justify-content: left;
}
.cartCol1{
  padding-right:1em;
}

/* MY COURSES */
#mycoursescon{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.mycoursesCol3{
  display:flex;
  /* border:1px solid #1c5675; */
  justify-content: space-between;
  margin: 0 auto;
  max-width: 500px;
  flex-wrap: wrap;
}

/* NEW MY COURSES */

.mycourse{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
}

.mycourse h2{
  margin: 0;
}

.mycoursesheader{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.mycoursesheader a{
  margin: 1.3em 0;
}


.mycoursetitlecontainer{
  display: flex;
  flex-direction: column;
}

/* CTEC LANDING PAGE */

.ctecgroups{
 /* border:2px solid var(--clr-text);*/
  width: 100%;
  /* border-radius: 1em; */
}

.ctec_banner{
  background-image: url("../images/los_angeles.webp");
  color: var(--clr-accent);
  text-align: center;
  min-height: 356px;
  border-radius: .5em;
  padding: .5em;
}

/*this hides the form elements for trapping spammer bots*/
#hlogin_form {
    display: none;   
}


.container p.error {
    font-size: 15px;
}

/* #cart1{
    display:flex;
} */


/* header {
  
  padding: 1em 0;
  text-align: left;
} */

.main_nav {
  display: none;
  /* height: 0;
  margin: 1em; */
}

.nav__list {
    margin:0;
    padding:0;
    list-style:none;
}

/* Slide Out Navigation for Account */

.sidenav {
  height: 50%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.account_navlist{
  display: flex;
  margin-left: 1em;

}



/* Slide Out Menu for site navigation */

/* Slide Out Navigation for Account */

.nav_slide {
  height: 70%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.nav_slide a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.nav_slide a:hover {
  color: #f1f1f1;
}

.nav_slide .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* ERROR MESSAGES FORM VALIDATION */

.error{
  color: red;
}

input{
  padding: 1em;
}

/* TAKE TEST */

.test1{
  float: left;
}

.test2{
  margin-bottom: 1em;
}


/* GOOGLE MATERIAL ICONS */
.material-symbols-outlined.md-18 { font-size: 18px; }
.material-symbols-outlined.md-24 { font-size: 24px; }
.material-symbols-outlined.md-36 { font-size: 36px; }
.material-symbols-outlined.md-48 { font-size: 48px; }


/* Media Queries */

@media (min-width: 800px) {
  .header_container{
    display: flex;
  }
  
  .nav-toggle {
    display: none;
  }

  .main_nav {
    visibility: visible;
    display: flex;
    height: auto;
    align-items: center;
  }
  
  .nav__list {
      display: flex;
  }

  .nav__item {
      margin: 0 0 0 1.5em;
  }
  
  .footer{
      display:flex;
  }

  .cart1{
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .coursedetailcontainer{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .coursesbanner{
    /* flex-direction: row; */
    align-items:flex-end;
    justify-content: space-between;
  }


  .coursesCol2{
    flex-wrap: nowrap;
  }
  
  .btn{
    margin-bottom: 0;
  }

  /* .membership_title{
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content:space-between;
    
  } */

  .homeheader{
    background-image: url("../images/hero.webp");
    text-align: left;
    color: var(--clr-accent);
  }

  .membershipDetails{
    display: flex;
    justify-content: space-between;
    flex-direction:row;
    
   
  }

  

 
}


