@import url("/source/1011/standard.css");

body {
  background-color: #fff;
  font-family: 'Open Sans', arial, verdana, sans-serif;
  color:#002428;
  margin:0;
}

span.cotr {display:none;}
h1 {margin:0;color:#009aa6;font-weight:normal;font-size:1.8em;}
h2 {background-color:#00505c; color:#fff; font-size:2.4em;font-weight:normal;padding: 27px 10px;margin:0;
background-image:url('https://cotr.bc.ca/wp-content/uploads/college-of-the-rockies-logo-primary-white-340x97-1.png');
  background-repeat: no-repeat; background-position:right;
}
		
div.content {width:90%; margin: 20px auto; font-size: .9em;}			

div.content h1 {font-size:1.5em;}
div.content h2 {font-size:1.2em;}
	
	@media screen and (min-width:240px) and (max-width:600px){
	html{-webkit-text-size-adjust:none;}
	span.cotr {display:block;font-size:1.5em;padding-left:10px;}
	h2 {background-image:none;}
	
	}		
.container{
    padding: 20px 185px 20px;
}

/* New header */

.full-width-header {
    /*width: 100%;*/
    padding: 0.875em 12.5em 0em 9.375em; /* 30px 200px 35px 150px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #009AA6;
    color: #fff;
    position: relative;
}

.header-left, .header-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 12.125em; 
}

.header-left .back-link {
    font-size: 0.875em; /* 14px */
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.625em; /* 10px */
    padding: 0 2.5em; /* 40px */
}

.header-left .logo-section {
    display: flex;
    align-items: center;

}

.logo {
    height: 8.75em; /* 140px */
    margin-right: 0.3125em; /* 5px */
}

.site-name {
    font-weight: 900;
    font-size: 2.5em; /* 32px */
    font-weight: bold;
}

.header-right {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 12.125em; 
}

.navigation {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 3.37em;
}

.nav-link {
    margin-left: 2.125em; 
    color: #fff;
    text-decoration: none;
    font-size: 1em; /* 16px */
}

.contact-link {
    margin-left: auto; /* Push contact link to the right */
    font-size: 0.875em; /* 14px */
    color: #fff;
    text-decoration: none;
}

.nav-link:hover, .back-link:hover, .contact-link:hover {
    text-decoration: underline;
}

/* Media Queries */

/* Tablets */
@media (max-width: 768px) {
    .full-width-header {
        padding: 1.5em 5em; /* Adjust padding for tablets */
    }

    .header-left, .header-right {
        flex-direction: column;
        align-items: left;
        height: auto;
    }

    .header-left .back-link, .header-right .contact-link {
        margin-bottom: 0.5em; /* Space between links */
    }

    .header-right {
        align-items: center;
        margin-top: 1em; /* Space above navigation */
    }

    .navigation {
        flex-direction: column;
        align-items: right;
        margin-right: 0;
    }

    .nav-link {
        margin-left: 0;
        margin-bottom: 0.5em; /* Space between navigation links */
    }

    .contact-link {
        margin-left: 0; /* Remove margin left for mobile view */
        margin-bottom: 1em; /* Space below contact link */
    }
    .site-name {
        font-size: 2em; /* 32px */
    }
}

/* Mobile */
@media (max-width: 480px) {
.container{
    padding: 5px 5px 5px;
}

    .full-width-header {
        padding: 1em 0.75em; /* Further reduced padding for mobile */
    }

    .header-left .back-link, .header-right .contact-link {
        font-size: 0.75em; /* Adjust font size for mobile */
        padding: 0; /* Remove padding for mobile */
    }

    .site-name {
        font-size: 1.5em; /* Adjust font size for mobile */
    }

    .logo {
        height: 5em; /* Adjust logo height for mobile */
    }

    .nav-link {
        font-size: 0.75em; /* Reduced font size for mobile */
    }

    .navigation {
	display: none !important;
        flex-direction: column;
        align-items: flex-start; /* Align items to the left */
        padding-bottom: 1em; /* Adjust bottom padding */
    }

    .nav-link {
        margin-left: 0;
        margin-bottom: 0.9em; /* Space between navigation links */
    }

    .contact-link {
        margin-left: 0; /* Remove margin left for mobile view */
        margin-bottom: 1em; /* Space below contact link */
    }
}