﻿/* Colors used: #FFF Lightest | #CCC Light | #222 Darkest | #666 Medium | #70002e Branding | #183763 Branding Alt */

@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
.right { background-color: transparent; }

body { font-size: 16px !important; background:#f8f5ec; font-family: 'Open Sans', sans-serif;}

/* Start Foundation 6 Marketing Footer */
.marketing-site-footer {background: #70002e; color: #FFF; padding:0px; }
.marketing-site-footer .marketing-site-footer-menu-social a {color: #FFF;}
.marketing-site-footer-name {color: #FFF;}
.marketing-site-footer-title {color: #FFF;}
.marketing-site-footer-block .fa {color: #183763;}
.marketing-site-footer-bottom {background:  #70002e; padding: 25px !important; font-size:14px;font-weight:400 !important; }
.marketing-site-footer-bottom .marketing-site-footer-bottom-links a {color: #FFF;}
.marketing-site-footer-bottom-links a:hover {color: #70002e;}
.marketing-site-footer-top {background:  #1d3c34; padding: 25px !important; font-size:14px;font-weight:400 !important; margin-bottom:25px; }

/* End Foundation 6 Marketing Footer */

/* Start Foundation 6 Top Bar Marketing Menu */
.topbar-responsive {background: #f8f5ec; padding-top: 25px; padding-bottom: 25px;}
.topbar-responsive .topbar-responsive-logo {color: #70002e; position: relative; }
.top-bar-right a { position: relative; top: 10px; }
.top-bar-right .topbar-responsive-button {top: 20px; color: #70002e !important; border-color: #70002e; background: #FFF !important; border-radius: 25px !important;}
.top-bar-right .topbar-responsive-button:hover {background: #70002e !important;}
.top-bar-right .topbar-responsive-button i { color: #70002e !important;}
.top-bar-right .topbar-responsive-button:hover i {color: #70002e !important; border-color: #70002e;}
@media screen and (max-width: 39.9375em) {.topbar-responsive .top-bar-title span {border-color: #FFF;}}
/* End Foundation 6 Top Bar Marketing Menu */

.topbar-responsive {background: url("https://extended.umt.edu/umextended/configuration/montanaex/img/um-top-banner.png"); background-size:cover; background-position: 70% 0% !important;}
@media only screen and (max-width: 1280px) { 
	.topbar-responsive{background:url("https://extended.umt.edu/umextended/configuration/montanaex/img/um-top-banner.png");background-size:cover; background-position: 45% 0% !important;}
}

.custom-menu { background-color: #70002e; font-family: 'Open Sans', sans-serif; font-size: 14px; }
.custom-menu a, .custom-menu a:visited, .custom-menu a:hover { 
	color: #FFF; 
	text-transform: uppercase; 
	font-weight: bold; 
	padding: 11px 15px 11px 11px !important; 
	background-color: #70002e;}
.custom-menu a:hover { background-color: #183763; padding: 11px 15px 11px 11px !important;}

#ctl00_ContentPlaceHolder1_ucSearch1_ucInstr1_lblInstructors {
	text-transform:uppercase;
	font-weight: bold;

}

#CCEContent { font-family: 'Open Sans', sans-serif; }
#CCEContent a, #CCEContent a:visited {color: #70002e; text-decoration: none;}
#CCEContent a:hover {color: #183763; text-decoration: underline;}

#catalogHoriz {width: 100%;}
.categoryColumn {width: 100%;}
@media only screen and (min-width: 200px) {#catalogHoriz {width: 100%; padding: 0;} .categoryColumn {margin-bottom: 4%;}}
@media only screen and (min-width: 640px) {.categoryColumn {width: 48%; min-height: 275px;} .categoryTitle {min-height: 50px;}}
@media only screen and (min-width: 960px) {.categoryColumn {width: 31%; min-height: 200px;} .categoryTitle {min-height: 80px;}}

@media only screen and (max-width: 640px) { 
	.hero-section, .top-bar-right{display: none;}
	.custom-menu ul li { border-top: 1px solid #DDD; }
	#CCEMenu li { padding-top: 10px; }
}

@media only screen and (max-width: 1100px) { #CCESecMenu {padding-bottom: 15px !important;}}

#CCESecMenu { background-color: #70002e; color: #FFF !important; font-weight: bold;}
#CCESecMenu a:link, #CCESecMenu a:visited { color: #FFF !important; font-weight: bold;}
#CCESecMenu a:hover {color: #ccc !important; }

table#ctl00_ContentPlaceHolder1_ucCartTable_cartTable ~ div table tr td {background: #f8f5ec !important;}
td.classInfoButton, table.class tr + tr, #ctl00_ContentPlaceHolder1_pnlClass tr {background: #f8f5ec !important;}

button, .button, input[type="submit"], input[type="button"] {
	background-color: #db7901 !important; 
	color: #fff !important; 
	font-size: 16px !important;
	padding: 10px 15px 10px 15px !important;
	font-weight: 700;
	border-radius: 9999px !important;
	border-style:none;
}
button:hover, .button:hover, input[type="submit"]:hover, input[type="button"]:hover, .button-griz:hover,.button-sunset:hover,.button-copper:hover,.button-lubrecht:hover {
	background-color: #de1007  !important;
	color: #fff !important; 
	text-decoration:underline !important;	
}

/* Custom Buttons: 
Griz Maroon: #70002e
Sunset Red: #F9423A
Copper Climb: #ED8B00
Lubrecht Green: #1D3C34 */

.button-griz {
	background-color: #70002e !important; 
	color: #fff !important; 
	font-size: 16px !important;
	padding: 10px 15px 10px 15px !important;
	font-weight: 700;
	border-radius: 9999px !important;
	border-style:none;
}

.button-sunset {
	background-color: #F9423A !important; 
	color: #fff !important; 
	font-size: 16px !important;
	padding: 10px 15px 10px 15px !important;
	font-weight: 700;
	border-radius: 9999px !important;
	border-style:none;
}

.button-copper {
	background-color: #ED8B00 !important; 
	color: #fff !important; 
	font-size: 16px !important;
	padding: 10px 15px 10px 15px !important;
	font-weight: 700;
	border-radius: 9999px !important;
	border-style:none;
}

.button-lubrecht {
	background-color: #1D3C34 !important; 
	color: #fff !important; 
	font-size: 16px !important;
	padding: 10px 15px 10px 15px !important;
	font-weight: 700;
	border-radius: 9999px !important;
	border-style:none;
}

#topBtn {
  color: #FFF !important; /* Text color */
  border: 1px solid #FFF !important; /* Remove borders */
  background-color: #222 !important; /* Set a background color */
  bottom: 75px !important; /* Place the button at the bottom of the page */
}

#topBtn:hover {
  color: #FFF !important; /* Text color */
  border: 1px solid #222;
  background-color: #70002e !important; /* Set a background color */
}

#topBtn i {font-size: 32px !important;}
#topBtn div {position: relative; top: -5px;}

div#ctl00_ContentPlaceHolder1_pnlNoClass {display:inline-block;}

ul.result {border-color: #70002e;}
ul.result p.right a {background: #70002e; color: #FFF !important;}

ul.course li div.wrap { display: table !important; width: 100% !important; }

ul.course li div.wrap div { display: table-cell !important; float: left; text-align: left;}
ul.course li div.wrap div.right { width: 66%; padding-top: 10px;}
ul.course li div.wrap div.left { width: 33%; padding-top: 10px;}

ul.course li.coursetitle { background-color: #70002e; padding: 5px 0px 5px 10px;}
ul.course li.coursetitle span, ul.course li.coursetitle span a {font-weight: bold; font-size: 18px !important; color: #FFF !important;}

#ctl00_ContentPlaceHolder1_pnlClass div.classPanelInfo { border-top: none !important; }

/*ul.course { border-bottom: #183763 5px solid; padding-bottom: 10px;}*/

/* FONT SIZES & FORMATTING */
div.pageHeading p, div.pageHeading p span span,
div.pageTitle, div.whitebody div.pageTitle p,
div.pageHeading, table tr td span.pageTitle, h1, h2, h3 {
	font-size: 32px !important;
	font-weight: bold;
	color: #70002e;
	font-family: "Alegreya Sans", sans-serif;
}

h2 {font-size: 28px !important;}
h3 {font-size: 24px !important;}

#bob {max-width: 290px !important;}
#bobsynopsis { padding: 0.5rem !important;}

#divPopup, .genericPopup, .genericPopupHeader[width], .genericPopup[width], .genericPopupFooter[width] {width: 458px !important;}
#divPopup table tr td:nth-of-type(1)[width], .genericPopup table tr td:nth-of-type(1)[width] {width: 9px !important;}
#divPopup table tr td:nth-of-type(2)[width], .genericPopup table tr td:nth-of-type(2)[width] {width: 409px !important;}
#divPopup table tr td:nth-of-type(3)[width], .genericPopup table tr td:nth-of-type(3)[width]{width: 40px !important;}
.genericPopup {border: 5px solid #F9423A !important;}
#divPopup table tr td[style], .genericPopup table tr td[style] {background-image: none !important;}
#divPopup img {display: none !important;}
#tdContent {font-size: 120% !important;}
#divPopup, .genericPopup {height: 150px !important;}
.genericPopupHeader {background-color: #F9423A; text-transform: uppercase;}
.genericPopupHeader tr td:nth-of-type(1), 
.genericPopupHeader tr td:nth-of-type(3) {display: none;}
.genericPopupHeader tr td:nth-of-type(2) span { 
	position: relative; 
	top: 12px;
	left: 12px;
	color: #FFF !important;
	font-weight: bold;
}
.genericPopupFooter {display: none;}

.genericPopupHeader tr td:nth-of-type(2) {background: #F9423A !important; padding-bottom: 15px !important;}
.genericPopup tr td:nth-of-type(2) table tr:nth-of-type(2) td {background: #FFF !important;}
#divPopup {
  position: fixed; 
  left: 50%;
  transform: translate(-50%, 0%);
}

#divPopup .genericPopup tr td:nth-of-type(2) table tr td, .genericPopup tr td:nth-of-type(2) table tr td {font-size: 16px !important;}

span#ctl00_ContentPlaceHolder1_ucCourse_lblDescription p img { padding: 25px; width: 400px; }

button.menu-icon { background-color: #70002e !important; }

#ctl00_Ucpreheader1_hypFeedback { display: none !important; }

.categoryImg { padding: 0px; border: 0px; }

footer div div { margin-top: 10px; padding-bottom: 10px;}

footer div div span { font-weight: bold; font-size: 18px; }

footer a, footer a:visited { color: #FFF; text-decoration: none; }
footer a:hover { color: #FFF; text-decoration: underline; }

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

.marketing-site-footer-bottom a, .marketing-site-footer-bottom a:visited {text-decoration: none;}
.marketing-site-footer-bottom a:hover {text-decoration: underline;}

.footerborder { border-left: 2px solid #FFF; padding-right: 50px; min-height: 150px; display: inline-block; }
@media only screen and (max-width: 1020px) { .footerborder {border-top: 2px solid #FFF; display: block; border-left:0px; min-height: 0px; padding-right: 0px;}}

/*.categoryColumn ul {display: none;}*/

#ctl00_Ucpreheader1_divPreHeaderWelcome { color: #FFF !important; font-weight: bold !important; }

a#ctl00_Ucpreheader1_hypGoCartIndex, a#ctl00_Ucpreheader1_lnkMyAccount, a#cartmenuitem {
    display: none !important;
}

.categoryTitle {
	text-align: center !important;
	margin-top: 0 !important;
	padding: 10px 15px !important;
	width: 100% !important;
    display: table; /* Use table display to center text vertically */
    text-align: center; /* Center the text within the title div */
	border-bottom-left-radius: 25px;
	border-bottom-right-radius: 25px;
	text-transform:none;
	font-size:20px;
}

.categoryTitle span {
    display: table-cell; /* Use table-cell to vertically center the text */
    vertical-align: middle; /* Vertically center the text */
}

.categoryTitle:hover {
	text-decoration:underline;
	color:#ffffff;
}
.categoryTitle span a {
	color:#ffffff !important;
}

/*Griz Maroon: #70002e
Sunset Red: #F9423A
Copper Climb: #ED8B00
Lubrecht Green: #1D3C34 */
.categoryColumn:nth-of-type(4n+1) .categoryTitle {
  background-color: #70002e;
}

.categoryColumn:nth-of-type(4n+2) .categoryTitle {
  background-color: #F9423A;
}

.categoryColumn:nth-of-type(4n+3) .categoryTitle {
  background-color: #ED8B00;
}

.categoryColumn:nth-of-type(4n+4) .categoryTitle {
  background-color: #1D3C34;
}

/*.categoryColumn:nth-of-type(2) .categoryTitle, .categoryColumn:nth-of-type(3) .categoryTitle, 
.categoryColumn:nth-of-type(2) .categoryImg, .categoryColumn:nth-of-type(3) .categoryImg { 
	cursor: not-allowed; text-decoration: none; pointer-events: none; 
}*/
.categoryColumn:nth-of-type(4n+1)) ul li { background-color: #70002e; }
.categoryColumn:nth-of-type(4n+2) ul li { background-color: #F9423A ; }
.categoryColumn:nth-of-type(4n+3) ul li { background-color: #ED8B00; }
.categoryColumn:nth-of-type(4n+4) ul li { background-color: #1D3C34; }





.categoryImg {
	overflow:hidden;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
.categoryImg img {
	transition: all 0.3s;
}
.categoryImg:hover img {
	transform: scale(1.1);
}

ul.course img {display: block !important;}

.leftpane, .rightpane {
	display: inline-block !important; 
	float: left; 
	padding: 5px 25px 25px 25px; 
	border: 1px solid #003B73; 
	border-radius: 5px;}

.leftpane {margin-right: 25px;}

@media only screen and (min-width: 200px) { .leftpane, .rightpane {width: 100% !important;} }
@media only screen and (min-width: 1200px) { .leftpane, .rightpane {width: 45% !important;} }

.sliding-cart { background: rgba(24, 55, 99, 0.75) !important; }

#CCENewSearch input { 
	display: inline-block;
	height: 45px;
}

table.search td, tbody {
	background:#f8f5ec;
}

.instructor-container,.instructor-dropdown, .category-container, .category-dropdown, .course-price-container, .course-price-dropdown {display:none;}
table.search table {display:none;}

/* Cart Count */
.badge {
  padding-left: 9px;
  padding-right: 9px;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  border-radius: 9px;
}

.label-warning[href],
.badge-warning[href] {
  background-color: #c67605;
}
#lblCartCount {
    font-size: 12px;
    background: #ff0000;
    color: #fff;
    padding: 0 5px;
    vertical-align: top;
    margin-left: -10px; 
	margin-top: -7px;
}

/* More info tab */
  details {
    background-color: #f1f1f1;
    border: 1px solid #ddd; /*  Add a border for better visibility */
 	margin-top: 0px;
	margin-bottom: 10px;
	
 }

details .details {
	padding: 5px !important; /* This pads the inner box */
}

  /* Icon styling */
  #icon {
	font-size:24px;
    margin-left: auto;
  }


  /* Styling for the summary element */
  summary {
    display: flex;
    cursor: pointer;
    background-color: #9cbbdc;
    color: white;
    padding: 10px; /* Increase padding for better click/tap area */
    font-size: 16px;
    font-weight: bold; /* Add bold font for better emphasis */
    border: none;
    outline: none;
    user-select: none;
  }

  /* Hide the default marker */
  summary::-webkit-details-marker {
    display: none;
  }
  
  
/* More info tab */
  details {
    background-color: #f1f1f1;
    border: 1px solid #ddd; /*  Add a border for better visibility */
 	margin-top: 0px;
	margin-bottom: 10px;
 }

details .details {
	padding: 5px; /* This pads the inner box */
}

  /* Icon styling */
  #icon {
	font-size:24px;
    margin-left: auto;
  }


  /* Styling for the summary element */
  summary {
    display: flex;
    cursor: pointer;
    background-color: #70002e;
    color: white;
    padding: 10px; /* Increase padding for better click/tap area */
    font-size: 16px;
    font-weight: bold; /* Add bold font for better emphasis */
    border: none;
    outline: none;
    user-select: none;
  }

  /* Hide the default marker */
  summary::-webkit-details-marker {
    display: none;
  }
  
  #ctl00_ContentPlaceHolder1_ucCatList_topDiv #catalogHoriz > .categoryColumn:nth-child(8) {
    /* your styles here */
}

.sliding-cart { background: rgba(24, 55, 99, 0.75) !important; }