/*
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: "Sofia Pro";
    text-transform: uppercase;
    text-align: center;
    display: block;
    font-weight: bold;
}
.dept-header h1 a {
    color: #003366;
    font-size: 1em;
}
.dept-header h1 a:hover {
    text-decoration: none;
}

/*Department Nav */
#main-navigation {
    background: #fff;
    border-top: 1px solid #ddd;
    font-family: "Sofia Pro";
    /*text-shadow: 1px 1px 0 #000*/
}
.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: #333!important;
    background-color: transparent!important;
}
.navbar-default .navbar-nav>li>a {
    color: #333!important;
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: #333!important;
    background-color: #f5f5f5!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;
}
.navbar-default .navbar-brand {
    color: #003366!important;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #003366!important;
}
.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #f5f5f5!important;
}
.people-text a.wp-block-button__link{
    color: #333!important;
    border: 1px solid #333;
    margin-top: 10px;
}
a.wp-block-button__link {
	display: inline-block;
	text-transform: uppercase;
	color: #fff!important;
	letter-spacing: 1px;
	padding: 7px 15px 7px;
	border: 1px solid #fff;
    font-size: 12px;
    background-color: transparent;
    transition: background-color 0.5s ease;
    margin-top: 20px;
}
.people-text a.wp-block-button__link:hover {
	text-decoration: none;
    background: #fff;
}
a.wp-block-button__link:hover {
	text-decoration: none;
    background: #1b5a98;
}
a.round-btn {
    display: inline-block;
	text-transform: uppercase;
	color: #336699!important;
	letter-spacing: 1px;
	padding: 7px 15px 7px;
	border: 1px solid #ddd;
    font-size: 12px;
    background-color: transparent;
    transition: background-color 0.5s ease;
    background: #f5f5f5;
}
a.round-btn:hover {
    text-decoration: none;
    background: #ddd;
}

/* Index Carousel */
#image-section {
    position: relative;
}
.img-wrapper {
    height: 60em;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-clip-path: polygon(0 0,100% 0,100% 80%,0 100%);
    clip-path: polygon(0 0,100% 0,100% 80%,0 100%);
}
.img-overlay {
    width: 100%;
    z-index: 2;
    height: 100%;
    position: absolute;
    background: linear-gradient(204.55deg,rgba(30,64,124,0),#1e407c 58%);
    -webkit-clip-path: polygon(0 0,100% 0,100% 80%,0 100%);
    clip-path: polygon(0 0,100% 0,100% 80%,0 100%);
}
.img-wrapper .imgdiv {
    /*background-image: url('https://beta-math.uncg.edu/WGS/wp-content/uploads/2014/10/rotating5.jpg');
    background-position: center center;
    background-size: cover;*/
    background: #1e407c;
    width: 100%;
    height: 100%;
}
#image-section .container {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1562px;
    margin: 0 auto;
}
.carousel {
    width: 100%;
    box-shadow: 0px 0px 15px 3px #003366;
}

#image-section h2 {
    color: #ffb71b;
    display: block;
    text-shadow: 1px 1px 2px #333;
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    font-size: 3.5rem;
}
.imgcaption {
    position: absolute;
    z-index: 2;
    display: block;
    padding: 20px;
    text-align: center;
    background: rgba(15,32,68,.9);
    color: #fff;
    font-size: 3rem;
    bottom: 0;
    width: 100%;
    text-shadow: 1px 1px 2px #333;
}
.image-wrapper img {
    width: 100%;
    height: auto;
    border: none!important;
}
.headtext p {
    color: #fff;
    display: block;
    text-shadow: 1px 1px 2px #333;
}
.headtext img {
    float: right;
    width: 30%;
    height: auto;
}
.carousel-control { 
    width: 0!important;
}
.carousel-control.right {
    right: -40px!important;
}
.carousel-control.left {
    left: -40px!important;
}

/* Index */ 
#news-section {
    padding: 40px 0;
}
#news-section .container {
    background-color: #fff;
}
.innews {
    padding: 0 15px;
}
.innews h3 {
	font-size: 30px;
    display: block;
    margin: 20px 0 20px;
    font-family: "Sofia Pro";
    text-transform: uppercase;
}
.innews h3.h3-white {
    color: #fff;
}
.newsbox {
    background: #fff;
    padding: 15px;
}
.news-box h4 {
    font-size: 18px;
    line-height: 24px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
    margin-top: 30px;
    width: 100%;
}
.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
.event-box a {
    color: #fff;
}
.event-box a:hover {
    color: #fff;
    text-decoration: underline;
}
.event-box h3 {
	color: #fff;
	text-transform: uppercase;
    font-family: "Sofia Pro";
    font-size: 20px;
    margin: 0 0 30px;
    padding-bottom: 20px;
}
.event-box h3 {
    border-bottom: 2px solid #253a65;
}
.event-box hr {
    border-top: 1px solid #253a65;
}
.alumn img, .books img {
    width: 35%;
    height: auto;
    float: left;
    padding: 0 20px 20px 0;
}
.announce {
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}
.index-btns div {
    display: block;
    margin-bottom: 15px;
    background-size: cover!important;
    background-position: center center!important;
    transition: transform .2s ease-in-out;
}
div.facilities {
    background: url('https://beta-math.uncg.edu/WGS/wp-content/uploads/2014/10/ConfLibrary1.jpg');
}
div.facilities a {
    background-color: rgba(255,183,27,.5);
}
div.virtual-tour {
    background: url('https://beta-math.uncg.edu/WGS/wp-content/uploads/2014/10/ConfLibrary1.jpg');
}
div.virtual-tour a {
    background-color: rgba(79,194,191,.7);
}
div.mcs {
    background: url('https://beta-math.uncg.edu/CHEM/wp-content/uploads/2019/08/PIC20421_MC2_story-022.jpg');
}
div.mcs a {
    background-color: rgba(160,12,48,.5);
}
.index-btns a {
    display: block;
    text-align: center;
    color: #fff;
    text-shadow: 1px 2px 2px #333;
    padding: 20px;
    text-transform: uppercase;
    font-size: 2.5rem;
}
.index-btns a:hover {
    color: #fff;
    text-decoration: none;
}
.index-btns div:hover {
    transform: scale(1.05);
}
.thumb-img img {
    width: 40%;
    height: auto;
    float: right;
    padding: 0 0 20px 20px;
}
.event-box {
	padding: 20px;
    color: #fff;
	margin-bottom: 15px;
}
.events {
    background: #0f2044;
}
.events img {
    width: 100%;
    height: auto;
}
.alumn {
    background: #0f2044;
}
.books {
    background: #00698c;
}

/* Secondary Page */

.secondary-pages {
    padding: 30px 0;
    font-size: 1.7rem;
    border-top: 1px solid #ddd;
}
#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.menu {
    display: block;
    padding: 0;
    margin: 0;
}
.sec-nav ul.menu > 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 a:hover {
    text-decoration: none;
    background: #f5f5f5;
}
.sec-nav ul.menu ul  {
    list-style-type: disc!important;
    color: #ffcc00;
    padding-bottom: 7px;
}
.sec-nav ul li li  {
    border: none;
    padding-bottom: 5px;
}
.sec-nav ul li li a  {
    padding: 0 0.4em 0;
}
.sec-content {
    line-height: 2.6rem;
}
.sec-content h2, .sec-content h3, .sec-content h4 {
    font-family: "Sofia Pro";
    color: #333;
}
.sec-content h2 {
    font-size: 3.8rem;
    margin-bottom: 30px;
}
.sec-content h3 {
    font-size: 3rem;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
}
.sec-content h4 {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-bottom: 15px;
}
.sec-content img {
    max-width: 100%;
    height: auto;
}
.tab-content {
    margin-top: 20px;
}
p.date {
    font-size: 12px;
    color: #777;
}
h3.fac-chart {
    display: block;
    padding: 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}
h3.fac-chart:before {
    display: none;
}
.people-box {
    margin-top: 15px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    padding: 20px;
}
.people-box img {
	float: right;
	margin: 0 0 20px 20px;
	width: 20%;
	height: auto;
}
.people-text {
	padding: 0 10px 10px;
	position: relative;
}
.people-text h4 {
    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: 5px solid #ddd;
}
.single-page-image img {
	float: right;
	margin: 0px 0px 20px 20px;
	clear: right;
	width: 30%;
	height: auto;
    padding-top: 0px!important;
    border: 5px solid #ddd;
}
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;
}
.wide-img img {
    width: 100%;
    height: auto;
}
.box-title h2 {
    display: inline-block;
    margin-top: -30px;
    z-index: 100;
    padding: 35px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #333;
    background: #f5f5f5;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 1.4;
    border-right: 10px solid #ffcc00;
}
.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, a.give-block:hover {
    text-decoration: none;
    background: #003366;
    color: #fff
}
a.give-block {
    display: inline-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;
}
.grad-box {
    text-align: center;
    height: 300px;
    font-size: 14px;
    line-height: 18px;
}
.grad-box img {
    border: 5px solid #ddd;
    max-height: 200px;
    width: auto;
    margin-bottom: 10px;
}
.seminars {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}
.seminar-box img {
    float: right;
    border: 5px solid #ddd;
    margin: 0 0 15px 15px;
    width: 25%;
    height: auto;
}
.seminar-box h4 {
    margin-top: 0;
}
form {
    border: 1px solid #ddd;
    padding: 15px;
}
.areas-res {
    display: block;
    margin-bottom: 7px;
}
.areas-res a {
    display: block;
    padding: 35px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #333;
    background: #f5f5f5;
    width: 100%;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 1.4;
    border-right: 10px solid #f5f5f5;
}
.areas-res a:hover {
    border-right: 10px solid #ffcc00;
    text-decoration: none;
}
a.reg-btn {
    display: inline-block;
    background: #003366;
    padding: 15px 30px;
    margin-right: 20px;
    border-radius: 5px;
    color: #fff;
    margin-bottom: 30px;
}
a.reg-btn:hover {
    color: #fff;
    background: #336699;
    text-decoration: none;
}

/* Media Queries */

@media (max-width : 567px) {
    

}
/* Smartphones (landscape)! ----------- */

@media (min-width : 568px) {
    
}



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

@media (max-width : 767px) {
    .news-box img {
        display: none;
    }
    .navbar-nav>li {
        float: none!important;
    }
}



@media (max-width : 1023px) {
.people-box img {
    display: none;
}
.people-text {
    width: 100%;	
}
#image-section {
    padding: 0;
}
.sm-hide {
    display: none;
}
.headtext h2 {
    line-height: 4rem;
    font-size: 3rem;
}
.headtext p {
    line-height: 3rem;
    font-size: 2rem;
}
}

/* 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: left!important;
    display: table-cell!important;
    text-align: center;
    font-size: 1.2em;
    letter-spacing: 1px;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
.navbar-nav>li:first-child {
    border-left: none;
}
#news-section .col-sm-8.innews {
	padding: 0 0 0 30px;
}
#news-section .col-sm-4.upevents {
	padding: 0 30px 0 0;
}
.news-box img {
	width: 100%;
	height: auto;
}

}



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

@media only screen 

and (min-width : 1024px) {

.people-box img {
	float: right;
	margin: 0 0 20px 20px;
	width: 25%;
	height: auto;
}
.people-text {
	width: 70%;
	float: left;
}
#image-section {
    padding: 30px 0;
}
.headtext h2 {
    line-height: 5rem;
    font-size: 4rem;
}
.headtext p {
    line-height: 4rem;
    font-size: 3rem;
}
}


@media (min-width : 1025px) {
    .navbar-nav>li {
        float: none!important;
    }
}
