/*
Theme Name: CASN
Theme URI: http://casn.berkeley.edu
Description: Child theme for the CASN site based on the DIVI theme for WordPress.
Author: Programming by FOW
Template: Divi
Author URI: http://fullorbitweb.com
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* 1rem = 16px */

@import url("../Divi/style.css");
@import url("css/font-awesome.css");


	@font-face {
	font-family:"freight-sans-pro";
	src:url("/wp-content/themes/CASN/fonts/freight-sans-pro-bold-italic.woff2") format("woff2"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-bold-italic.woff") format("woff"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-bold-italic.otf") format("opentype");∂
	font-display:auto;font-style:italic;font-weight:700;
	}

	@font-face {
	font-family:"freight-sans-pro";
	src:url("/wp-content/themes/CASN/fonts/freight-sans-pro-semibold.woff2") format("woff2"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-semibold.woff") format("woff"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-semibold.otf") format("opentype");
	font-display:auto;font-style:normal;font-weight:600;
	}

	@font-face {
	font-family:"freight-sans-pro";
	src:url("/wp-content/themes/CASN/fonts/freight-sans-pro-black.woff2") format("woff2"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-black.woff") format("woff"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-black.otf") format("opentype");
	font-display:auto;font-style:normal;font-weight:900;
	}	
	
	@font-face {
	font-family:"freight-sans-pro";
	src:url("/wp-content/themes/CASN/fonts/freight-sans-pro-book.woff2") format("woff2"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-book.woff") format("woff"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-book.otf") format("opentype");∂
	font-display:auto;font-style:normal;font-weight:400;
	}
	
	@font-face {
	font-family:"freight-sans-pro";
	src:url("/wp-content/themes/CASN/fonts/freight-sans-pro-book-italic.woff2") format("woff2"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-book-italic.woff") format("woff"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-book-italic.otf") format("opentype");∂
	font-display:auto;font-style:italic;font-weight:400;
	}
	
	@font-face {
	font-family:"freight-sans-pro";
	src:url("/wp-content/themes/CASN/fonts/freight-sans-pro-light.woff2") format("woff2"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-light.woff") format("woff"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-light.otf") format("opentype");∂
	font-display:auto;font-style:normal;font-weight:300;
	}
	
	@font-face {
	font-family:"freight-sans-pro";
	src:url("/wp-content/themes/CASN/fonts/freight-sans-pro-light-italic.woff2") format("woff2"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-light-italic.woff") format("woff"),url("/wp-content/themes/CASN/fonts/freight-sans-pro-light-italic.otf") format("opentype");∂
	font-display:auto;font-style:italic;font-weight:300;
	}

	@font-face {
	font-family:"freight-micro-pro";
	src:url("/wp-content/themes/CASN/fonts/freight-micro-pro-semibold.woff2") format("woff2"),url("/wp-content/themes/CASN/fonts/freight-micro-pro-semibold.woff") format("woff"),url("/wp-content/themes/CASN/fonts/freight-micro-pro-semibold.otf") format("opentype");
	font-display:auto;font-style:normal;font-weight:700;
	}

	@font-face {
	font-family:"freight-micro-pro";
	src:url("/wp-content/themes/CASN/fonts/freight-micro-pro-black.woff2") format("woff2"),url("/wp-content/themes/CASN/fonts/freight-micro-pro-black.woff") format("woff"),url("/wp-content/themes/CASN/fonts/freight-micro-pro-black.otf") format("opentype");
	font-display:auto;font-style:normal;font-weight:900;
	}

	@font-face {
	font-family:"freight-micro-pro";
	src:url("/wp-content/themes/CASN/fonts/freight-micro-pro-bold-italic.woff2") format("woff2"),url("/wp-content/themes/CASN/fonts/freight-micro-pro-bold-italic.woff") format("woff"),url("/wp-content/themes/CASN/fonts/freight-micro-pro-bold-italic.otf") format("opentype");
	font-display:auto;font-style:italic;font-weight:900;
	}
	

	.tk-freight-sans-pro { font-family: "freight-sans-pro",sans-serif; }
	.tk-freight-micro-pro { font-family: "freight-micro-pro",serif; }
	
	
	@font-face {
	font-family:"ETmodules";
	src:url("/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.woff") format("woff"),url("/wp-content/themes/Divi/core/admin/fonts/modules/all/modules.ttf");
	}


/**********************************/
/**   MASTHEAD & HEADER          **/
/**********************************/

#top-header{
	display:none;
}
header#main-header .et_menu_container{
	min-height: 110px;
	display:flex;
	justify-content: space-between;
	align-items:center;
}
header#main-header{
	background-color:#fff;
	clear:both;
	box-shadow:none;
}
.et_header_style_left .logo_container{
	position:relative !important;
	width:auto;
}
img#logo{
	max-height: 130px;
	width: 260px;
}
#et-top-navigation{
	float:none;
	padding:0px 0px 0px 0px !important;
	display:block;
	position:relative;
	margin: 0 0px 0px auto;
}


.et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a{
	padding-top: .5rem;
	padding-bottom: .5rem;
}

#top-menu{
	display:flex;
	justify-content: flex-end;
	align-items:center;
	float:none;
}

#et-secondary-nav .menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after {
	top: 25%;
}

@media screen and (max-width: 980px){
	#top-menu-nav{
		display:none;
	}
}

/**********************************/
/**   FONTS         **/
/**********************************/
body, div, p, li{
	font-family: freight-sans-pro, sans-serif !important;
	font-weight:600;
	font-size: 18px;
}
h1, h2 ,h3, h4, h5, h6{
	font-family: freight-micro-pro, serif !important;
}
h1, h2 ,h3{
	font-weight: 900
}
h4, h5, h6{
	font-weight: 700
}

h1{
	font-size:2.5rem;
}
h2{
	font-size:2.25rem;
}
h3{
	font-size:2rem;
}
h4{
	font-size:1.75rem;
}
h5{
	font-size:1.5rem;
}
h1{
	font-size:1rem;
}
h1 a:link, h2 a:link ,h3 a:link, h4 a:link, h5 a:link, h6 a:link{
	text-decoration:underline;
}
h1 a:hover, h2 a:hover ,h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover{
	text-decoration:none;
}

.nobreak{
	margin-bottom: .5rem;
	padding-bottom:0px;
}

sup{
	font-size: 80%;
	bottom: .4em;
}

select, textarea{
	max-width: 80%;
}
a#mast_sched{
	margin-left: 20px;
	margin-left:1.25rem;
}
	table{
		max-width: 100%;
	}
	
.et_pb_tabs{
	border:none !important; 
}
	
ul.et_pb_tabs_controls{
	background-color:transparent !important;
	border:none;
}
.et_pb_tabs_0 .et_pb_tabs_controls li{
	background-color:#527dc0 !important;
	color:#fff;
	width:33%;
	max-width:40%;
	text-align:center;
	line-height:110%;
	vertical-align:bottom;
	min-height:40px;
	min-height:2.5rem;
	border-radius:8px 8px 0px 0px;
	border-radius:.5rem .5rem 0 0;
}
.et_pb_tabs_0 .et_pb_tabs_controls li.et_pb_tab_active,.et_pb_tabs_0 .et_pb_tabs_controls li:hover{
	background-color:#1e3b93 !important;
	color:#fff;
}
.et_pb_tabs_0.et_pb_tabs .et_pb_tabs_controls li a,
.et_pb_tabs_0.et_pb_tabs .et_pb_tabs_controls li a:link,
.et_pb_tabs_0.et_pb_tabs .et_pb_tabs_controls li a:hover{
	color:#fff !important;
	width:100%;
	text-align:center;
	display:inline-block;
}
div.et_pb_all_tabs{
	border: 1px solid #d9d9d9;
}

@media all and (max-width:767px) {
	.et_pb_tabs_0 .et_pb_tabs_controls li{
		float:left !important;
		text-align:center;
	}
}
@media all and (max-width:680px) {
	.et_pb_tabs_0 .et_pb_tabs_controls li{
		float:none !important;
		display:block;
		text-align:center;
		width:100%;
		max-width:100% ;
		border-radius: 8px 8px 8px 8px;
		border-radius: .5rem .5rem .5rem .5rem;
	}
}

@media screen and (max-width: 850px){
	header .widget_text#text-2{
		margin-top:-16px;
		max-width:40% !important;
	}
	a#mast_sched{
		margin-top: 4px;
		margin-top:.25rem;
	}
	a#mast_sched{
		margin-left: 0px;
	}
	
	#main-header div.et_menu_container div.widget_text h3{
		display:none;
	}
}
@media screen and (max-width: 570px){
	header#main-header{
		padding-top:16px;
	}
	header .widget_text#text-2 a.blue_button{
		width:100%;
		margin-left:0px;
		font-size: 12px;
		line-height: 120%;
		padding: 4px 8px;
	}
}

/*********************************/
/**       CONTENT AREA          **/
/*********************************/




/*********************************/
/**  SIDEBARS  */

.et_pb_widget a{
	line-height: 110%;
}
.et_pb_widget a:link, .et_pb_widget a:visited{
	color:#2ea3f2;
}
.et_pb_widget a:hover, .et_pb_widget a:visited:hover{
	color:rgba(46,163,242,0.8);
}


/*********************************/
/**  GENERAL  */

a.sm_button{
	font-size: 90%;
	display:inline-block;
	padding: 4px 8px;
	padding:.25rem .5rem;
	background-color:rgba(255,255,255,.4);
}
a.sm_button{
	background-color:rgba(255,255,255,.4);
}
a.sm_button.white{
	background-color:transparent;
}
a.sm_button:link,a.sm_button:visited{
	color:#032450;
	border: solid 1px #032450;
}
a.sm_button:hover{
	color:#0868ed;
	border: solid 1px #0868ed;
}
a.sm_button.white:link,a.sm_button.white:visited{
	color:#fff;
	border: solid 1px #fff;
}
a.sm_button.white:hover{
	color:#fff;
	border: solid 1px #fff;
	background-color:rgba(255,255,255,.4);
}

a.javalink-small{
	cursor:pointer;
}
a.javalink-small{
	cursor:pointer;
	font-size: 80%;
}

.no-bottom-padding{
	padding-bottom: 0px !important;
}
.no-top-padding{
	padding-top: 0px !important;
}

/*********************************/
/**  ACCORDIONS  */

.et_pb_accordion div h5,.et_pb_toggle h5.et_pb_toggle_title,.et_pb_toggle_close h5.et_pb_toggle_title{
	padding: 12px;
	padding:.75rem;
	background-color:#fff;
	color:#444;
	font-weight:normal !important;
	font-size: 130%;
	border-top:solid 1px #90a9ce !important;
}
.et_pb_toggle_title:before{
	color:#dedede;
	margin-right: 6px;
	margin-right:.266rem;
}
.et_pb_accordion div h5:hover,.et_pb_toggle h5.et_pb_toggle_title:hover,.et_pb_toggle_close h5.et_pb_toggle_title:hover, .et_pb_toggle_title:hover:before{
	color:#1547a3;
}
.et_pb_accordion .et_pb_toggle, .et_pb_toggle{
	border:none !important;
}
.et_pb_accordion div.et_pb_toggle_content{
	padding: 16px;
	padding:1rem;
}
.et_pb_gutters3 .et_pb_column_3_4 .et_pb_module, .et_pb_gutters3.et_pb_row .et_pb_column_3_4 .et_pb_module, .et_section_specialty .et_pb_gutters3.et_pb_row .et_pb_column_3_4 .et_pb_column_4_4 .et_pb_module, .et_section_specialty .et_pb_row .et_pb_column_3_4 .et_pb_gutters3.et_pb_row_inner .et_pb_column_4_4 .et_pb_module{
	margin-bottom: 0;
}

.icongroup1 p {
	margin:2px 0 16px 58px;
}
div.eg-bar {
        background-image: url(/wp-content/plugins/CCASN-features/images/hdrbkgd-lt.jpg);
	background-repeat: repeat-x;
	background-position: top;
	border-top:1px solid #ccc;
	border-bottom:none;
	margin: 5px 20px 10px 35px;
	width:625px;
	}
.icongroup1 {
	width: 570px;
	margin: -10px 20px 0 35px;
}
.icongroup1 h2 {
	margin: 0px 2px 16px 8px;
	margin: 0 .25rem 1rem .5rem;
	padding:0;
    font-size:120%;
    font-weight:600;
	}
.icongroup1 h2.curr_title {
	margin-bottom:4px;
	margin-bottom:.25rem;
	margin-top:16px;
	margin-top:1rem;
	line-height:1.2em;
	padding-top: 12px;
	padding-top:.75rem;
	border-top: dashed 1px #dedede;
}
	
.icongroup1 h2.curr_title:first-child {
	border-top:none;
}
.icongroup1 p.curr_sum{
	margin-bottom: 12px;
	margin-bottom:.75rem;
	line-height:150%;
	color:#444;
}
	
/** Guides with show hide panels **/
.iconspan {
	float: left;
	margin: 3px 6px 0 0;
	cursor:hand;
	cursor:pointer;
	font-weight: bold;
}
div.eg-bar {
	padding: 3px;
	border-bottom: 1px solid #cdcdcd;
	background-image: url(/wp-content/plugins/CCASN-features/images/hdrbkgd.jpg);
	background-repeat: repeat-x;
	background-position: bottom;
}
div.eg-bar {
	/*width: 645px;*/
	width: 100%;
	margin: 8px auto 8px auto;
	margin: .5rem auto;
}
.icongroup1 {/*width: 645px*/;
	width: 700px;
	margin: 4px auto 4px auto;
	margin: .25rem auto;
}
.eg-bar h2 {
font-size: 130%;
	color: #555;
	font-weight:bold;
	padding: 0px 0px 0px 16px;
	margin: 0px;
}
.eg-bar h3 {
	font-size: 90%;
	font-weight: normal;
	margin: 0px 0px .2em 36px;
	padding: 0px;
}
 h3.flushleft {
	margin-left:0;
}
.icongroup1 p {
	margin: 0px 0px .4em 12px;
	padding:0;
}
.icongroup1 table.article {
	margin-left: 4px;
}


/* Curriculum Search display */
.eg-bar h2 .definition {
	font-size: 80%;
	font-weight: normal;
	float: right;
	margin-right: 10px;
}


.pos3 .alignleft {
	text-align:left;
	border-left: 1px solid #ccc;
	vertical-align:top;
}
.coursework_column {
	text-align:left;
	padding-top:18px;
}
.pos3 tr td p {
	padding: 2px;
	margin: 0 8px;
}
td#coursework_column p {
	text-align:left !important;
	margin:0 10px;
}
a.more_link {
	display:inline block;
	background-image:url("../images/arrowright_small.jpg");
	background-repeat:no-repeat;
	background-position:right;
	text-decoration:none;
	padding-right:12px;
}
a.more_link:link {
	text-decoration:none;
}
/** POPUP WINDOW STYLES **/
body.popup {
	background-color:#fff;
	background-color:#f8f5ee;
}
.popup .maincolcenter h3 {
	margin: 1em 0px 0px;
	font-family: Arial, Helvetica, sans-serif;
}
.popup .maincolcenter p {
	font-size: 90%;
	color: #333;
	margin: 0 0 .5em 0;
	line-height: 1.3em;
}
.popup .maincolcenter ul {
	margin-top:0;
}
.popup .maincolcenter ul li {
	font-size: 90%;
	display:block;
	text-align:center;
}
.window, .jslink a {
	color:#258;
	cursor: pointer;
}
a.closelink {
	font-size: 80%;
	color: #900;
	margin:0;
	margin-top: .7em;
	cursor: pointer;
}
.eg-bar .window, .jslink a {
	color:#369;
	cursor: pointer;
	text-decoration:underline;
}
.jslink a {
	color:#369;
	cursor: pointer;
	font-size:.9em;
}
a.pdf_link, a.doc_link, a.ppt_link {
	display:block;
	position:relative;
	height:20px;
	background-repeat: no-repeat;
	background-position:center right;
}

/*********************************/
/**  HOME PAGE  */

#home_announcements article{
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
}


/*********************************/
/**  CURRICULUM DATABASE  */

.et_pb_section.no_pad{
	padding:1% 0;
}
 .et_pb_row{
	padding:0 0 !important;
	width:90%;
	max-width: 1206px;
	margin-left:auto;
	margin-right:auto;
}

a.career_star_on, a.career_star_link, a.ind_star_on, a.ind_star_link{
	display:inline-block;
	width: 18px;
	height:16px;
	background-repeat:no-repeat;
}
a.career_star_on, a.ind_star_on{
	background-image:url(/wp-content/themes/CASN/images/star-career-on.gif);
}
a.career_star_link:link, a.ind_star_link:link{
	background-image:url(/wp-content/themes/CASN/images/star-career-off.gif);
}
a.career_star_link:hover, a.career_star_on:hover, a.ind_star_on:hover, a.ind_star_link:hover{
	background-image:url(/wp-content/themes/CASN/images/star-career-over.gif);
}

/*** CURRICULUM DETAIL PAGE ***/
.abstract-box {
	width:104%;
	margin:10px -2% 20px -2%;
	padding:0;
	background-color:#F6F7F9;
	border:1px solid #ccc;
}
.abstract-box h2 {
	font-size: 145%;
	line-height: 1.2em;
	margin:.8em 1em .5em 1em;
	margin:.8rem 1rem .5rem 1rem;
	padding:0;
	font-weight:bold;
	color:#32557F;
}
.abstract-box h3 {
	font-size: 110%;
	line-height: 1.2em;
	font-weight:bold;
	margin:0 1em .15em 15px;
	padding:0;
	color:#666;
}
.abstract-box p {
	margin:0 1em 1em 15px;
}
h3.curr_subhead {
	line-height: 1.2em;
	margin:1em 1em .25em 0;
	color:#555555;
	font-weight:bold;
}
#rightcol .sidebox {
	background: url(none) no-repeat bottom;
	background-color:#f9f9f9;
	border:1px solid #ccc;
}
#rightcol .sidebox h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 110%;
	color: #004562;
	background: url(images/box_no-image.jpg) no-repeat;
	height: 28px;
	padding:8px 0 0 12px;
	margin:0 0 24px 0;
	border-bottom:1px solid #ccc;
}
p .strong-color, .strong-color {
	font-weight: bold;
	color: #258;
	line-height:1.5em;
}
.additional {
	margin-bottom: .4em;
	margin-top: 0px;
}


#up_box {
	display:none;
	position:fixed;
	top: 10vh;
	left: 25vw;
	width: 50vw;
	height:230px;
	padding:15px;
	background-color:#f5f6f8;
	border: solid 1px #b6bbbf;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	z-index: 1000;
}
#pop_frame {
	width:400px;
	height:205px;
}
.close_link {
	text-align:right;
	font-size:11px;
	margin:-30px 10px 0px 10px;
}
.close_link a:link, .close_link a:visited {
	color:#b6bbbf;
	text-decoration:none;
}
.close_link a:hover, .close_link a:visited:hover, .close_link a:active, .close_link a:visited:active {
	color:#3a76be;
	text-decoration:underline;
}

/*********************************/
/**  MASTER SCHEDULE GUIDE  */

ul.msg, ul.ldr{
	list-style-type:none;
	padding:0px;
	text-indent:0px;
	padding-bottom:40px;
	padding-bottom: 2.5rem;
}
ul.msg li,ul.ldr li{
	float:left;
	list-style-type:none;
	background-color:#d5d5d5;
	background-color:#809bc0;
	background-image: url(images/arrow-tab.png);
	background-repeat:no-repeat;
	background-position:right center;
	margin-right: 4px;
	margin-right:.25rem;
}

ul.msg li:hover, ul.msg li.current-menu-item,
ul.ldr li:hover, ul.ldr li.current-menu-item{
	background-color:#b74117;
}
ul.msg li a,
ul.ldr li a{
	font-size: 90%;
	line-height:90%;
	display:inline-block;
/*	padding: 3px 12px 3px 5px;
	padding: .19rem .75rem .19rem .31rem; */
	padding: 3px 16px 3px 8px;
	padding: .19rem 1rem .19rem .5rem;
	color:#ffffff;
}
ul.msg li a:link,
ul.ldr li a:link{
/*	color:#225588; */
	color:#ffffff;
}

ul.msg li:hover a, ul.msg li.current-menu-item a, ul.msg li a:hover,
ul.ldr li:hover a, ul.ldr li.current-menu-item a, ul.ldr li a:hover{
	color:#fff;
}
ul.msg li.msg-end, ul.msg li.msg-support, ul.msg li.msg-all, ul.msg li.msg-dss,
ul.ldr li.ldr-end, ul.ldr li.ldr-support, ul.ldr li.ldr-all{
	background-image:none;	
}
ul.msg li.msg-end a, ul.msg li.msg-support a, ul.msg li.msg-all a, ul.msg li.msg-dss a,
ul.ldr li.ldr-end a, ul.ldr li.ldr-support a, ul.ldr li.ldr-all a{
	padding: 3px 5px 3px 5px;
	padding: .19rem .31rem.19rem .31rem;
}
ul.ldr li.ldr-all, ul.ldr li.ldr-support,ul.msg li.msg-dss{
	margin-left: 20px;
	margin-left:1.25rem;
}
ul.msg li.msg-all,
ul.ldr li.ldr-all{
	margin-right:0px;
}

/***************************/
/**       FOOTER          **/
/***************************/

footer.et-l{
	background-color:#fff;
}
