/*
Theme Name: CAS Child Wordpress Template
Theme URI: https://aas.uncg.edu
Author: College of Arts and Sciences Webmaster
Author URI: https://aas.uncg.edu
Description: UNCG WordPress theme conforming to Unit Website Requirements
Version: 1.0.0
License: GNU General Public License
License URI: see license.txt

*/
@font-face {
    font-family: "Pluto Sans";
    src: url("../fonts/pluto-sans.eot?#iefix");
    src: url("../fonts/pluto-sans.eot?#iefix") format("eot"), url("../fonts/pluto-sans.svg") format("svg"), url("../fonts/pluto-sans.ttf") format("ttf"), url("../fonts/pluto-sans.woff2") format("woff2"), url("../fonts/pluto-sans.woff") format("woff"); }
  
  @font-face {
    font-family: "Sofia Pro";
    font-weight: 300;
    src: url("../fonts/SofiaW03-Regular.eot?#iefix");
    src: url("../fonts/SofiaW03-Regular.eot?#iefix") format("eot"), url("../fonts/SofiaW03-Regular.woff2") format("woff2"), url("../fonts/SofiaW03-Regular.woff") format("woff"), url("../fonts/SofiaW03-Regular.ttf") format("truetype"); }
  
  @font-face {
    font-family: "Sofia Pro";
    font-weight: 600;
    src: url("../fonts/SofiaW03-Bold.eot?#iefix");
    src: url("../fonts/SofiaW03-Bold.eot?#iefix") format("eot"), url("../fonts/SofiaW03-Bold.woff2") format("woff2"), url("../fonts/SofiaW03-Bold.woff") format("woff"), url("../fonts/SofiaW03-Bold.ttf") format("truetype"); }
  
  @font-face {
    font-family: "Sofia Pro";
    font-weight: 300;
    font-style: italic;
    src: url("../fonts/SofiaW03-RegularItalic.eot?#iefix");
    src: url("../fonts/SofiaW03-RegularItalic.eot?#iefix") format("eot"), url("../fonts/SofiaW03-RegularItalic.woff2") format("woff2"), url("../fonts/SofiaW03-RegularItalic.woff") format("woff"), url("../fonts/SofiaW03-RegularItalic.ttf") format("truetype"); }
  
  @font-face {
    font-family: "Sofia Pro";
    font-weight: 600;
    font-style: italic;
    src: url("../fonts/SofiaW03-BoldItalic.eot?#iefix");
    src: url("../fonts/SofiaW03-BoldItalic.eot?#iefix") format("eot"), url("../fonts/SofiaW03-BoldItalic.woff2") format("woff2"), url("../fonts/SofiaW03-BoldItalic.woff") format("woff"), url("../fonts/SofiaW03-BoldItalic.ttf") format("truetype"); }

body {
    font-family: "Sofia Pro"!important;
}
hr {
    clear: both;
}
/* Department Header */
.dept-header {
    margin: 30px 0;
}
.dept-header h1 {
    font-family: "Pluto Sans";
    text-transform: uppercase;
    text-align: center;
    display: block;
}
.dept-header h1 a {
    color: #003366;
    font-size: 1em;
}
.dept-header h1 a:hover {
    text-decoration: none;
}

/*Department Nav */
#main-navigation {
    background: #104d86;
    border-top: 1px solid #054179;
    font-family: "Sofia Pro";
}
.navbar-default {
    background-color: transparent!important;
}
.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 0px!important;
    border: none!important;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
    color: #fff!important;
    background-color: transparent!important;
}
.navbar-default .navbar-nav>li>a {
    color: #fff!important;
    text-shadow: 1px 1px 0 #000
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: #fff!important;
    background-color: #054179!important;
}
.dropdown-menu>li>a {
    padding: 5px 20px!important;
    font-size: 1.1em;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:focus, .navbar-default .navbar-nav>.open>a:hover {
    color: #555;
    background-color: transparent!important;
}

a.wp-block-button__link {
	display: inline-block;
	text-transform: uppercase;
	color: #fff!important;
	letter-spacing: 1px;
	padding: 8px 15px 7px;
	border: 1px solid #003366;
    font-size: 12px;
    background-color: #0f2044;
    transition: background-color 0.5s ease;
    margin-top: 10px;
}
a.wp-block-button__link:hover {
	text-decoration: none;
    background: #336699;
}

/* Index Carousel */
#image-section {
    padding: 0;
    position: relative;
    background: #0f2044;
}
.image-caption {
    padding: 50px 30px;
    position: absolute;
    z-index: 5;
    top: 10%;
    left: 10%;
    width: 100%;
}
.image-caption h2 {
    font-family: "Pluto Sans";
    color: #fff;
}

/* Index */

p.date {
    font-size: 1.3rem;
    color: #555;
    padding: 7px 0;
    margin: 0;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
	margin-bottom: 20px;
}
.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
a.learn-btn {
	display: inline-block;
	background: #336699;
	color: #fff;
	text-transform: uppercase;
	font-size: 12px;
	padding: 10px;
}
.calendar a {
    background-repeat: no-repeat;
    background-size: auto 40%;
    background-position: 15px center;
    display: block;
    background-image: url(https://english.uncg.edu/wp-content/themes/CAS-DEPT/assets/calendar.png);
    padding: 20px 20px 20px 55px;
    border: 1px solid #ddd;
    font-size: 2.3rem;
    margin-top: 30px;
}
.lounge a {
    background-repeat: no-repeat;
    background-size: auto 36%;
    background-position: 10px center;
    display: block;
    background-image: url(https://english.uncg.edu/wp-content/themes/CAS-DEPT/assets/chair.png);
    padding: 20px 20px 20px 55px;
    border: 1px solid #ddd;
    font-size: 2.3rem;
    margin-top: 30px;
}
.calendar a:hover, .lounge a:hover {
    text-decoration: none;
    background-color: #f5f5f5;
}
a.learn-btn:hover {
	background: #003366;
	text-decoration: none;
	color: #fff;
}
.explore-head {
	background-image: url('https://beta-math.uncg.edu/ENG/wp-content/themes/CAS-DEPT/assets/funky-lines.png');
	background-repeat: repeat;
}
.explore-head h2 {
	font-size: 30px;
	display: block;
	color: #fff;
	text-align: center;
	margin: 0;
	background-color: rgba(4, 66, 128, 0.9);
	padding: 40px 0 70px;
    box-shadow: inset 0 0 20px #003366;
    font-family: "Pluto Sans";
}
.margin-row h3 {
    font-family: "Sofia Pro";
	color: #333;
	margin-bottom: 30px;
}
.margin-row, #featured, #news-events {
	padding: 0 45px;
}
#featured, #news-events {
	padding-top: 20px;
}
.margin-row .row {
	margin-top: -30px;
	background: #f5f5f5;
	border: 1px solid #ddd;
}
.margin-row .col-sm-4 {
    text-align: center;
}
.margin-row .row div:nth-child(2) {
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
}
.explore-box img {
	width: 60%;
	height: auto;
	border-radius: 50%;
	margin: 30px 30px 0px;
}
.explore-box p {
	font-size: 1.6rem;
	padding-bottom: 30px;
}
.link-box {
    padding: 50px 15px 30px;
    display: block;
    width: 33%;
    float: left;
}
.lg-link-box {
    display: inline-block;
}
.link-box a, .lg-link-box a {
    display: block;
    padding: 15px;
    font-size: 24px;
    background: #0f2044;
    color: #fff;
    text-align: center;
    border: 2px solid #036;
    transition: transform .2s ease-in-out;
}
.link-box a:hover, .lg-link-box a:hover {
    background: #060c1a;
    color: #fff;
    text-decoration: none;
    transform: scale(1.05);
}
#featured h2 {
	font-family: "Pluto Sans";
	font-size: 30px;
	display: block;
	margin: 0;
	
	padding: 30px 0;
}
#featured h3 {
	font-family: "Sofia Pro";
	color: #333;
	margin-bottom: 20px;
}
#featured p {
	font-size: 14px;
	padding-bottom: 20px;
}
#featured .row {
	padding: 30px -15px;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}
#featured .row div {
	padding-top: 30px;
	padding-bottom: 30px;
}
#featured img {
	width: 100%;
	height: auto;
}
#news-events .row.newscont {
	padding: 30px 0;
}
#news-events .upevents {
	border-right: 1px solid #ddd;
}
#news-events h3 {
	color: #333;
	text-transform: uppercase;
    font-family: "Sofia Pro";
    font-size: 20px;
    margin-bottom: 30px;
}
.event-box {
	background: #f5f5f5;
	border: 1px solid #ddd;
	padding: 10px;
	margin-bottom: 30px;
}
.news-box {
	border-bottom: 1px solid #ddd;
	padding-bottom: 20px;
	margin-bottom: 20px;
}
.news-box h4 {
	font-size: 20px;
}
.meet-head {
	background-image: url('https://beta-math.uncg.edu/ENG/wp-content/themes/CAS-DEPT/assets/funky-lines.png');
	background-repeat: repeat;
}
.meet-head h2 {
	font-family: "Pluto Sans";
	font-size: 30px;
	display: block;
	color: #fff;
	text-align: center;
	margin: 0;
	background-color: rgba(4, 126, 128, 0.9);
	padding: 30px 0 60px;
	box-shadow: inset 0 0 20px #036b6d;
}
.meet-margin-row {
	padding: 0 30px 30px;
}
.meet-margin-row h3 {
	font-family: "Sofia Pro";
	color: #333;
	margin: 0;
	display: block;
    padding: 20px;
    text-align: center;
}
.meet-margin-row h4 {
	font-family: "Sofia Pro";
	margin: 0;
	display: block;
	padding: 20px;
}
.meet-margin-row .row {
	margin-top: -30px;
}
.meet-margin-row .innerbox {
	background: #f5f5f5;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}
.meet-margin-row .col-sm-4 {
 	text-align: left;
}
.meet-margin-row img {
	width: auto;
	height: auto;
	max-height: 200px; 
	max-width: 100%;
}
.meet-margin-row p {
	font-size: 14px;
	padding-bottom: 30px;
	display: block;
	padding: 0 20px 20px;
}
.know-box .innerbox {
    padding: 15px;
    font-size: 16px;
}
.know-box ul {
    margin: 0;
    padding-left: 25px;
}
.know-box li {
    margin-bottom: 5px;
}
a.learn-btn {
	display: inline-block;
	background: #336699;
	color: #fff;
	text-transform: uppercase;
	font-size: 12px;
	padding: 10px;
}
a.learn-btn:hover {
	background: #003366;
	text-decoration: none;
	color: #fff;
}


/* Secondary Page */

.secondary-pages {
    padding: 30px 0;
    font-size: 1.7rem;
}
#side-nav {
    padding: 10px 15px;
    margin: 15px 0;
}
.sec-nav h3 {
    font-family: "Sofia Pro";
    color: #0f2044;
    font-size: 2rem;
    text-transform: uppercase;
    margin:0 0 20px;
    border-bottom: 1px solid #ededed;
    padding: 0.8em 4.237867396%;
}
.sec-nav ul {
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
}
.sec-nav ul > li {
    display: block;
    border-bottom: dotted #ccc 1px;
}
.sec-nav ul li a {
    display: block;
    padding: 0.7em 4.237867396%;
    font-size: 1.5rem;
    font-weight: bold;
}
.sec-nav ul li:hover {
    background: #f5f5f5;
}
.sec-nav ul li a:hover {
    text-decoration: none;
}
.sec-content {
    line-height: 2.6rem;
}
.sec-content h2, .sec-content h3, .sec-content h4 {
    font-family: "Sofia Pro";
    color: #0f2044;
}
.sec-content h2 {
    font-size: 3.8rem;
    margin-bottom: 30px;
}
.sec-content h3 {
    margin-bottom: 20px;
}
/*.sec-content h3:before {
    background-color: #ffb71b;
    content: ' ';
    display: block;
    height: 0.6rem;
    margin-bottom: 1.5rem;
    width: 3.5rem;
}*/
.sec-content img {
    max-width: 100%;
    height: auto;
}
h3.fac-chart {
    display: block;
    padding: 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}
h3.fac-chart:before {
    display: none;
}
.people-box {
	margin-bottom: 15px;
}
.people-box img {
	float: left;
	margin: 0 20px 20px 0;
	width: 20%;
    height: auto;
    border: 4px solid #ddd;
}
.people-text {
	padding: 0 10px 10px;
	position: relative;
}
.people-text h3 {
    margin-top: 0;
}
.people-box p {
	margin-top: 0px;
	padding-top: 0px;
	font-size: 1.6rem;
}
.page-image {
	display: block;
	float: right;
	width: 25%;
	margin: 0px 0px 20px 20px;
	position: relative;
}
.page-image img {
	width: 100%;
    height: auto;
    border-top: 5px solid #ffb71b;
}
.pagesm-image {
	display: block;
	float: left;
	width: 15%;
	margin: 0px 20px 20px 0px;
	position: relative;
}
.pagesm-image img {
	width: 100%;
    height: auto;
    border-top: 5px solid #ffb71b;
}
.single-page-image img {
	float: right;
	margin: 0px 0px 20px 20px;
	clear: right;
	width: 30%;
	height: auto;
    padding-top: 0px!important;
    border-top: 5px solid #ffb71b;
}
table.lined {
	width: 100%;
	border-collapse: collapse;
    line-height: 1.7em;
    border: 1px solid #ddd;
    margin-bottom: 30px;
}
table.lined th {
	background: #f5f5f5;
	font-weight: normal;
	text-transform: uppercase;
}
table.lined th, table.lined td {
	padding: 10px;
	border: 1px solid #ddd;
    vertical-align: top;
}
table.lined td.lect-img img {
    width: 200px;
    height: auto;
}
.wide-img img {
    width: 100%;
    height: auto;
}
.box-title h2 {
    display: inline-block;
    padding: 15px 30px;
    color: #fff;
    background: #0f2044;
    margin-top: -30px;
    z-index: 100;
}
.giving span.lgbtn {
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    display: inline-block;
    background-image: url(https://aas.uncg.edu/wp-content/themes/CAS-2018/assets/task.svg);
    width: 20px;
    height: 20px;
    margin-right: 20px;
    vertical-align: middle;
}
.giving a.give-btn {
    display: block;
    font-size: 14px;
    color: #fff;
    background: #00698c;
    padding: 15px 15px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-radius: 5px;
}
.giving a.give-btn:hover {
    text-decoration: none;
    background: #003366;
}
.sm-book img {
    width: 15%;
    float: right;
    margin: 0 20px 0 20px;
    border-top: 5px solid #ffcc00;
}
.sm-book {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}
.introtext p {
    padding: 0 0 15px;
    font-size: 2rem;
    line-height: 2.8rem;
}
.sub-box {
    display: inline-block;
    margin-bottom: 7px;
    position: relative;
}
.sub-box img {
    width: 100%;
    height: auto;
}
.sub-box-inner {
    position: relative;
}
.sub-box h3 {
    display: block;
    margin: 0;
    z-index: 2;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 20px;
    text-align: center;
}
.sub-box a {
    padding: 15px;
    background:rgba(4, 66, 128, 0.9);
    display: block;
    color: #fff
}
.sub-box a:hover {
    background: #003366;
    color: #fff;
    text-decoration: none;
}
.sections {
    padding-bottom: 15px;
}
.sections p {
    font-size: 1.5rem;
    line-height: 2.4rem;
    padding: 10px 0;
}
.contact-box img {
    float: left;
    margin: 0 20px 20px 0;
    width: 20%;
    height: auto;
    border: 5px solid #ddd;
}
.contact-box p {
    margin: 0;
}
.portal-btn, .contact-more a {
    display: block;
	background: #336699;
	color: #fff;
	font-size: 24px;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
}
.portals a:hover .portal-btn, .contact-more a:hover {
    background: #003366;
	text-decoration: none;
    color: #fff;
}
.portals .col-sm-6 p {
    display: block;
    border: 1px solid #ddd;
    padding: 15px;
}
.portals .col-sm-6 a:hover p {
    background: #f5f5f5;
}
.portals a:hover {
    text-decoration: none;
}
.contact-more a {
    padding: 25px;
    background: #333;
}
.seminars {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}
.seminar-box img {
    float: right;
    margin: 0 0 15px 15px;
    width: 25%;
    height: auto;
}
.seminar-box h4 {
    margin-top: 0;
}
 


/* Media Queries */

@media (max-width : 567px) {
}
/* Smartphones (landscape)! ----------- */

@media (min-width : 568px) {
    .carousel-outer {
        /*max-width: 1470px;*/
        position: relative;
        margin: 0 auto;
    }
    .image-wrapper img {
        width: 100%!important;
        height: auto;
    }
}



/* Smartphones (portrait)! ----------- */

@media (max-width : 767px) {
    .news-box img {
        display: none;
    }
    .news-item-text, .news-item-text-full {
        padding: 15px;
        width: 100%;
    }
    .person-thumb img {
        float: none;
    }
    .news-archive img {
      display: none;
    }
    .alumni-box img {
        display: none;
    }
}



@media (max-width : 1023px) {
.people-box img {
    display: none;
}
.people-text {
    width: 100%;	
}
}

/* iPads (portrait and landscape) !----------- */

@media (min-width:768px){
.navbar {
    border-radius: 0px!important;
}
.navbar-header {
    display: none;
}
.navbar-nav {
    float: none!important;
    margin: 0;
    display: table!important;
    width: 100%;
}
.navbar-nav>li {
    float: none!important;
    display: table-cell!important;
    text-align: center;
    font-size: 1.2em;
    letter-spacing: 1px;
    border-left: 1px solid #003366;
}
.navbar-nav>li:first-child {
    border-left: none;
}
#news-events .col-sm-8.innews {
	padding: 0 0 0 30px;
}
#news-events .col-sm-4.upevents {
	padding: 0 30px 0 0;
}
#featured .col-sm-4 {
	padding-right: 0;
	padding-left: 15px;
}
#featured .col-sm-8 {
	padding-right: 15px;
	padding-left: 0;
}
.news-box img {
	width: 100%;
	height: auto;
}
.news-item-text {
	float: left;
	padding: 15px;
	width: 75%;
}
.news-item-text-full {
	padding: 15px;
	width: 100%;
}
a.more-btn {
    display: block;
    float: right;
	clear: right;
	width: 20%;
}
.alumni-box img {
    float: left;
    padding: 0 20px 20px 20px;
}
.alumni-box h4 {
    padding-top: 0;
}
}



/* Desktops and laptops !----------- */

@media only screen 

and (min-width : 1024px) {

.people-box img {
	float: left;
	margin: 0 20px 20px 0;
	width: 20%;
	height: auto;
}
.people-text {
	width: 70%;
	float: left;
}
}
