/*
 Description:  GWS, a child theme of Skeleton by Simple Themes
 Theme Name:   GWS - Child Theme
 Author:       PagePoint based on work by Simple Themes
 Template:     smpl-skeleton
 Version:      1.0.0
*/

/* -- GENERAL -- */

/* site background */
body { background-image:none!important; background-color: #f8f8f8!important;  margin-top:25px!important; margin-bottom:25px!important;}

/* site background on HOMEPAGE ONLY */
body.home { background-image: url(/wp-content/uploads/2017/07/body-bg.jpg)!important; background-attachment: fixed; margin-top:25px!important; margin-bottom:25px!important;}

/* background of content area */
body div#wrap.container { background-color: #ffffff; padding:0px 10px;}
h2 { padding-top:30px!important;}

/* main site title/link */
h1#site-title { font-family:"Times New Roman",serif; font-size: 39pt!important; }

/* set minimum height for content area */
div.entry-content { min-height: 800px; }
body.home div.entry-content { min-height:10px;}

/* make all links in content underline only on hover */
.entry-content a { text-decoration:none!important; }
.entry-content a:hover { text-decoration: underline!important; }

.st-callout a {color:#863227; font-weight: bold;}

/* header */
div#header { background-color: rgba(24,26,63,1); margin: 0 0px 10px -10px; padding-right: 0px; padding-left: 40px; height:105px;}
#header .inner { padding-bottom: 0px!important; }
#site-subtitle { float:right; padding-right:20px; }

/* menu/nav */
#navigation ul#menu-main-menu { 
	background: -moz-linear-gradient(270deg, #FCFCFC, #ECECEC) repeat scroll 0 0 transparent;
	background: -webkit-linear-gradient(270deg, #FCFCFC, #de7914) repeat scroll 0 0 transparent;
	border-color: #EAEAEA #de7914 #de7914 #de7914;
}

#navigation ul#menu-main-menu  a { color:#000000; font-weight:normal; text-shadow:none; font-size:15pt;}
#navigation ul#menu-main-menu li ul li  a { padding-right:10px; font-size:12pt;}
#navigation ul#menu-main-menu ul li.menu-item-has-children a:after { content: "\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00BB"; }
#navigation ul#menu-main-menu ul li.menu-item-has-children ul li a:after { content: ""; }

/* -- SIDEBAR -- */

/* highlight the current page in the sidebar menu */
.advanced-sidebar-menu .current_page_item { background-color: #eeeeee; }

/* -- MAIL TEASER --*/
.header_extras {
    color: #aaaaaa;
    border: 2px solid #444444;
    border-top:none;
    border-radius: 0px 0px 10px 10px;
    margin-top: -13px;
    padding: 5px 10px;
    margin-right: 0px;
    /* see /js/gws.js file for hover and link */
}

/* -- HOME PAGE -- */

/* make home page spacing tighter */
div#nav-below { display:none; }
body.home div.clear { display:none; }

/* hide title on home page */
body.home h2.entry-title { display:none; }

/* style the text */
body.home p { color:#181a3f; text-align:center; font-size:19pt; line-height: 22pt; margin:20px 70px ;font-family: 'Bellefair', sans-serif; padding:0px 30px;
}
body.home span.big-first { font-size:48pt; }


/* slide show */
.easingslider-1046 { margin-bottom:20px; }

.slide-title-styling { 
    color:white;
    font-size: 20pt;
    border: 2px solid #c8c8c8;
    border-radius: 5px 5px;
    background-color: rgba(0,0,0,.45);
    position: absolute;
    top: 60%;
    left: 5%;
    padding: 15px;
    max-width: 38%;
    line-height: 21pt;
}
/* look in gws.js for "top" tweaking */

.slide-title-styling div.sub-title {
    font-size:12pt;    
    font-style: italic;
}
.slide-title-styling div.learn-more {
    margin-top:15px;
    border:none;
    font-size:12pt; 
    color:#000000;
    cursor:pointer;
}
.slide-title-styling a { color: #ffffff!important;}

.slide-title-styling div.learn-more:hover {
    opacity:0.65;
    text-decoration: none;
}

/* the two columns */
div.one_half {  background-color:#c8c8c8; min-height:225px;}
div.one_half ul { list-style-position:outside; margin-left:25px;}
div.one_half ul li  { margin-bottom: 6px; line-height: 15pt;}
div.one_half br { display:none; }
div.one_half div#rss-4,
div.one_half div#custom-post-type-recent-posts-7,
div.one_half div#text-2 { margin-left:20px; }
div.one_half h2 { padding: 0px 30px; margin-top:-10px; }
div.one_half div ul li { border-bottom: 0px; }
div.one_half div#text-2 { margin-left:38px; }
div.one_half div.vertical-widget-title  {
    display:inline-block;
    margin:0 0 0 0; 
    padding:0 0 0 0;
    transform: rotate(-90deg);
    transform-origin: 41px 39px;
    font-size:24px;
    font-family: 'Alegreya Sans SC';
    font-style:normal;
    font-weight:500;
    letter-spacing: 1.12pt;
    color: #ffffff;
}
div.one_half.last div.vertical-widget-title  {
    transform-origin: 72px 71px;
}
div.one_half div#rss-4.widget,
div.one_half div#custom-post-type-recent-posts-7 { margin-top:-20px;}
div.one_half div#rss-4 h2 ,
div.one_half div#custom-post-type-recent-posts-7 h2   {display:none;}
div.one_half p { margin:0 0 0 0 ;}

/* -- The left menu -- */
div#advanced_sidebar_menu-3 ul li { border: 1px solid  #e8e8e8; background-color: #eeeeee;}
div#advanced_sidebar_menu-3 ul li.current_page_item a { color:#000000;  font-weight:bold; }
div#advanced_sidebar_menu-3 ul li ul li { border: 1px solid transparent; line-height: 15pt; margin-bottom:8px;}
div#advanced_sidebar_menu-3 ul li ul li a { display:block; border:1px solid transparent; line-height:15pt; }
div#advanced_sidebar_menu-3 ul li ul li a:hover { font-weight: bold; }
div#advanced_sidebar_menu-3 ul li.current_page_item ul li  a { font-weight:normal!important; }
div#advanced_sidebar_menu-3 ul li ul li ul li a { font-size:10pt; line-height: 10pt; }

/* -- Landing pages -- */
#post-26  div.entry-content,
#post-176 div.entry-content,
#post-194 div.entry-content { margin-top:-25px; }
#post-26  div.entry-content img.size-full,
#post-176 div.entry-content img.size-full,
#post-194 div.entry-content img.size-full { padding-bottom:20px; }

/* -- RSS and News Widgets -- */

/* Latest News links */
div[id^=custom-post-type-recent-posts-] h3 { color:#535353; }
div[id^=custom-post-type-recent-posts-] ul li{ list-style: disc outside none; margin: 4px 15px; border-bottom: 1px solid #eee;}
div[id^=custom-post-type-recent-posts-] ul li a { color: #863227; text-decoration: none; }
div[id^=custom-post-type-recent-posts-] ul li a:hover { color: #de7914; text-decoration: none; }

div#custom-post-type-recent-posts-3 ul { margin-left:10px; }

/* RSS links */
div[id^=rss-] ul li { list-style: disc outside none; margin: 4px 15px; border-bottom: 1px solid #eee;}
div[id^=rss-] a img.rss-widget-icon { display:none; }
div[id^=rss-] h2 a.rsswidget { color:#535353; }
div[id^=rss-] h3 a.rsswidget { color:#535353; }
div[id^=rss-] h2 a.rsswidget:hover { color: #535353; text-decoration: none!important; }
div[id^=rss-] h3 a.rsswidget:hover { color: #535353; text-decoration: none!important; }
div[id^=rss-] ul li a.rsswidget  { color: #863227; text-decoration: none; }
div[id^=rss-] ul li a.rsswidget:hover { color: #de7914; text-decoration: none; }

div#rss-3 ul { margin-left:10px; }
div#text-2 .textwidget { margin-top:-10px; padding-left:23px;}
div#text-4 .textwidget { margin-top:-10px; padding-left:32px; display:inline-block;}
div#text-2 .textwidget a {  font-size:10pt; text-transform:uppercase;}
div#text-4 .textwidget a {  font-size:10pt; text-transform:uppercase; font-family:'Alegreya Sans',sans-serif;font-weight:400;}

/* -- Right-hand Column on Landing Pages --*/
.one_third.last { border:1px solid #c8c8c8; background-color:#e8e8e8;  border-radius:10px 10px; width:27.5%; padding:5px 10px; }

/* -- NEWS STORIES PAGE -- */

/* adjustments for news story posts */
span.meta-sep { display: none; }
span.author.vcard { display:none; }
div.entry-utility { display: none;}


/* -- FACULTY PAGE -- */
body.page-slug-about--department-faculty #content li { list-style: disc outside none; margin-left:20px; margin-bottom:0px;}
body.page-slug-about--department-faculty div.professor span strong { color:#de7914;}
body.page-slug-about--department-faculty br { display:none; }


/* -- UNDERGRADUATE ADVISING PAGE -- */
body.page-slug-undergraduate-programs--undergraduate-advising ul li { list-style: disc outside none; margin-left:30px; line-height: 9pt;}

/* -- Gender & Science page -- */
body.page-id-1345 ul.people { list-style-position:outside; margin-left:25px;}
body.page-id-1345 ul.people li { margin-bottom: 6px; line-height: 15pt;}
body.page-id-1345 ul.list-no-style { list-style:none; }
body.page-id-1345 ul.overview { list-style-position:outside; margin-left:25px;}
body.page-id-1345 ul.overview li { margin-bottom: 6px;}
body.page-id-1345 ul.year-list { list-style:none;}
body.page-id-1345 ul.year-list li { margin-bottom:6px;}
body.page-id-1345 h3 { padding-top:20px;}

/* -- Publications page -- */
body.page-id-208 div.blurb { border:1px solid transparent; font-size:11pt;}
body.page-id-208 img { float:left; margin:0px 15px 5px 0px; }
body.page-id-208 div.blurb { clear:both; padding:12px 0px; min-height:150px; line-height:15pt;  border-bottom: 5px solid #d8d8d8; }
body.page-id-208 div.views-field-title { font-weight:bold; }
body.page-id-208 div.description { padding:8px 0px; color:#444444; font-size:12pt;}
body.page-id-208 div.views-field-field-book-buy-url { border:1px solid #999999; display:inline; margin:10px 10px 10px 0px;padding:1px 10px; }
body.page-id-208 p { margin:0px!important;}

/* -- Letters of Reference page -- */
body.page-id-159 ul.letters-of-reference { list-style-position:outside; margin-left:25px;}
body.page-id-159 ul.letters-of-reference li { margin-bottom: 6px; line-height: 14pt; margin-bottom:0.65em;}

/* -- Resources / Links page -- */
body.page-id-204 ul li { margin-bottom: 6px; line-height: 15pt;}

/* -- Chau Hoi Shuen page -- */
body.page-id-1306 ul { list-style-position:outside; margin-left:25px;}
body.page-id-1306 ul li  { margin-bottom: 6px; line-height: 15pt;}

/* -- Undergrad Learning Initiative --*/
body.page-id-145 ul { list-style-position:outside; margin-left:25px;}
body.page-id-145 ul li  { margin-bottom: 6px; line-height: 15pt;}
body.page-id-145 table tr td {padding: 2px 3px;}

/* -- "hopbox" -- */

/* turn off the br tags that WP adds in the hopbox */
.hopbox br { display:none;}

/* "hop2top" */
div.hop2top { background-color:#3376ea; display:inline;}
div.hop2top a { padding: 2px 9px; color:white; }

/* -- "Give to GWS" button -- */
a.donate-button {
    background: url(/wp-content/themes/gws/images/blue-button.png) 0 0 no-repeat;
    display: block;
    text-align: center;
    width: 120px;
    height: 36px;
    line-height: 38px;
    color: #fff;
    font-size: 16px;
    margin-bottom: .5em;
    font-weight: bold;
    font-family: Arial,Helvetica,sans-serif;
}
a.donate-button:hover { background: url(/wp-content/themes/gws/images/blue-button.png) 0 -36px no-repeat; }

/* -- footer --*/
#credits { background-color:#181a3f; width:100%; display:block; color:white; margin-left:11px;
#credits a { color:white; font-weight:normal; }
#credits a.active,
#credits a.visited  { color:white!important; font-weight:normal!important; }


/* -- UPME plugin -- */
/* for some odd reason, perhaps a conflict with the skeleton theme, the buttons had a white background and were unreadable */
button#insert-media-button,
button.button.insert-media.add_media,
button#description-tmce,
button#description-html,
button#publications-tmce,
button#publications-html,
button#research_areas-tmce,
button#research_areas-html { background-color: #2a72c0;}

div#qt_description_toolbar input.ed_button,
div#qt_publications_toolbar input.ed_button,
div#qt_research_areas_toolbar input.ed_button  { background-image: none; background-color: #2a72c0; }

input.upme-init-uploadbox { background-image:none!important; background-color:#2a72c0!important; width:120%!important; }
