* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	font-size: 16px;
}
body {
  	margin: 0px auto;
  	  	padding: 0px;
  	  	    vertical-align: top;
}

.login {
  	width: 400px;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}

.login h1 {
  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}

.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}

.login form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}

.login .sfet_email_readonly  form input[type="text"] {
   color:red !IMPORTANT; 
}

.school_logo {
  position:relative;
 float:left;
 max-height:60px;  
 left:20px;
 margin-top:-70px;
}

.house_logo {
float:right;
margin:0px 10px;
height:180px;
}

.vle_page {
  	width: 100%;
  	background-color: #ffffff;
  	margin: 0px auto;
  	padding-bottom: 20px;
  	vertical-align: top;
}


.top_header {
  	text-align: center;
  	color: #ffd600;
    margin-top:0px;
  	padding: 20px 0 20px 0;
  	background-color:#2a2559;
    font-size:28px;
}

.vle_page h1 {
  	text-align: center;
  	color: #fff;
    margin-top:0px;
  	padding: 20px 0 20px 0;
  	background-color:#282858;
    font-size:28px;
}




.vle_page p {
  	text-align: left;
  	color: #5b6574;
  	padding: 0 20px 0 20px;
}


.inline {
    display: inline;
}

.link-button {
    background: none;
    border: none;
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    font-size: 1em;
    padding:20px;
}

.link-button:focus {
        outline: none;
}

.link-button:active {
    color:red;
}




.logout a:link, .logout a:visited {
  background-color: #3274d6;
  color: white;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}

.logout a:hover, .logout a:active {
  background-color: #2868c7;
}


.right_button {
  background-color: #ffd600;
  color: #282858;
  padding: 14px 25px;
  text-decoration: none;
  display: inline-block;
  width:100%;
  margin-bottom:6px;
  text-align: left;
  border-radius:5px;
}

.right_button a:link, .right_button a:visited {
  background-color: #3274d6;
  color: white;
  padding: 14px 25px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
}

.right_button:hover{
  background-color: #FEE75F;
}

.right_link {
    font-size: 22px;
    float:left;
    margin-right:15px;
}

.right_link a:link {
    float:left;
    margin-right:15px;
}


.house_cup_holder {
    margin:0 auto;
    text-align:center;
    margin-bottom:20px;
}

.badge_holder {
    margin:0 auto;
    text-align:center;
    max-width:900px;
}

.house_cup_holder H1{
    margin:0 auto;
    text-align:center;
    color:white;
    background-color:#282858;
    margin-bottom:20px;
}

.housecup {
    cursor: pointer;
    vertical-align: top;
    display:inline-block;
    width:24%;
}

.housecup_sfet {
    vertical-align: top;
    display:inline-block;
    width:24%;
}

.housecup_year {
    cursor: pointer;
    vertical-align: top;
    display:inline-block;
    width:19%;
    text-align: center;
}

.housecup_reg {
    cursor: pointer;
    vertical-align: top;
    display:inline-block;
    width:15%;
    text-align: center;
}

.housecup_reg img{
    opacity: 1.0;
    max-width:110px;
}

.housecup_reg img:hover {
    opacity: 0.6;
    transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -webkit-transition: opacity .3s ease-in-out;
}

.hc_place {
    font-weight:bold;
    line-height:40px;
}


.hc_student {
    cursor:pointer;
    width:100%;
}

.hc_student:hover  {
    background:#ccc;
}

.housecup img{
    opacity: 1.0;
    max-width:200px;
}

.housecup_sfet img{
    opacity: 1.0;
    max-width:200px;
}

.housecup img:hover {
    opacity: 0.6;
    transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -webkit-transition: opacity .3s ease-in-out;
}
 
 
.housecup_sfet img:hover {
    opacity: 0.6;
    transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -webkit-transition: opacity .3s ease-in-out;
} 

.icon_holder {
    border-bottom:1px solid #ccc;
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
    margin:0px 10px 10px 10px;
    border-bottom-left-radius:5px;
    border-bottom-right-radius:5px;
    padding:20px 0px;
}



h2 {
  	text-align: left;
  	color: #ffd600;
    margin:0px 10px 0px 10px;
  	padding: 4px 0 6px 10px;
  	background-color:#2a2559;
    font-size:16px;
    Font-weight:500;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
     border:1px solid #2a2559;
}


.icons {
vertical-align: top; 
display:inline-block;
text-align:center;
font-size:12px;
width:140px;
margin:8px;
}

.icons:hover {
opacity:0.45;
}


.top_holder{
    margin:0 auto;
    width:100%;

}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  font-size: 30px;
}

.flex-item-left {
  padding: 10px;
  flex: 70%;
}

.flex-item-right {
  padding: 10px;
  flex: 30%;
}


#attDIV {
  width: 100%;
  padding: 10px 0;
  text-align: center;
  background-color: #fff;
  margin-top: 20px;
display:none;
}



/* Container for flexboxes */
.row_house {
  display: flex;
  flex-wrap: wrap;
  margin:20px 20px;

}

/* Create four equal columns */
.column_house {
  flex: 20%;
  border:1px solid #fff;
  color: #fff;
  position: relative;
  min-height:160px;
}

.column_house p{
  margin: 10px auto;
  color: #fff;
  text-align:center;
  font-size:28px;
  white-space: nowrap;
}

.hc_base  {
  width:100%;
  vertical-align: text-bottom; 
  font-size:small;
  position: absolute;
  text-align:center;
  bottom: 8px;
  clear:both;
  
}

  .green_button {
    padding: 5px 8px 5px 5px;
    color: #fff;
    font-size: 14px;
    font-weight:600;
    background: #33CC66;
    border: 0 solid transparent;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
    width: 244px;
    text-align: center;
    cursor: pointer;


@media (max-width: 1200px) {
.housecup img{
    opacity: 1.0;
    max-width:120px;
}   
    
.housecup_reg img {
    opacity: 1.0;
    max-width:80px;
}

.housecup_reg img:hover {
    opacity: 0.6;
    transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -webkit-transition: opacity .3s ease-in-out;
} 
    

}


@media (max-width: 920px) {

    .housecup_reg img {
        opacity: 1.0;
        max-width:60px;
    }

    .housecup_reg img:hover {
        opacity: 0.6;
        transition: opacity .3s ease-in-out;
        -moz-transition: opacity .3s ease-in-out;
        -webkit-transition: opacity .3s ease-in-out;
    } 
    

}



/* Responsive layout - makes a one column-layout instead of a two-column layout */
@media (max-width: 700px) {
    
    .top_header {
    font-size:22px;
    }
    
    
.login {
  	width: 90%;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
    .login form input[type="password"], .login form input[type="text"] {
  	width: 260px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}
    
    
  .flex-item-right, .flex-item-left {
    flex: 100%;
    padding: 0px;
  }
  
  .flex-item-right {
      padding: 10px;
  }
  
  .school_logo {
display:none;
}

.house_logo {
float:right;
margin:0px 6px;
max-height:50px;
}
  
  
  .vle_page {
  	width: 100%;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 0px auto;
  	padding-bottom: 20px;
}

.vle_page p {
  	text-align: left;
  	color: #5b6574;
  	padding: 0px 14px;
}
  .icons {
    vertical-align: top; 
    display:inline-block;
    text-align:center;
    width:86px;
   margin:10px;
 }

  .icons img{
    max-width:100%;
 }
 
 

 .house_cup_holder H1{
padding:10px;
    margin:0 10px 10px 10px;
    font-size:110%;
}


.housecup span {
    font-size:80% !IMPORTANT;
}  

.housecup img{
   max-width:70px;
}


.housecup_sfet span {
    font-size:80% !IMPORTANT;
}  

.housecup_sfet img{
   max-width:70px;
}

.column_house {
    flex: 50%;
    text-align:center;

  }
  
.column_house p{
color:#fff;
text-align:center;
margin-top:20px;
}
  
}


@media screen and (max-width: 600px) {
  .row_house {
    flex-direction: column;
  }
}
