/*
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: #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;
}

a.wp-block-button__link {
	display: inline-block;
	text-transform: uppercase;
	color: #fff!important;
	letter-spacing: 1px;
	padding: 10px 15px 7px;
	border: 1px solid #fff;
    font-size: 12px;
    background-color: transparent;
    transition: background-color 0.5s ease;
    margin-top: 20px;
}
#highlight-section a.wp-block-button__link {
    transition: background-color 0.5s ease;
    background-color: #3c71a5;
}
a.wp-block-button__link:hover, #highlight-section a.wp-block-button__link:hover {
	text-decoration: none;
    background: #1b5a98;
}

/* Index Carousel */
#image-section {
    background: #111d35;
}
.image-caption {
    text-align: justify center;
    font-size: 1.4em;
    color: #fff;
}
.image-caption h2 {
    font-family: "Sofia Pro";
    color: #ffcc00;
    font-size: 1.7em;
    margin-bottom: 30px;
}
.image-tagline {
    font-size: 1.4em;
    color: #fff;
    background-color: rgba(0, 0, 0, .8);
    width: 100%;
    padding: 10px;
    position: absolute;
    bottom: 0;
}

/* Index */ 
#index-img .container {
    border-bottom: 1px solid #ddd;
    padding: 30px 0;
    font-size: 1.5em;
    margin-bottom: 30px;
}
#index-img h2:before {
    background-color: #ffb71b;
    content: ' ';
    display: block;
    height: 0.6rem;
    margin-bottom: 1.5rem;
    width: 3.5rem;
}
#news-section {
    padding: 40px 0;
}
.innews h3 {
	font-size: 30px;
    color: #333;
    display: block;
    margin: 0 0 20px;
}
.news-box {
	border-bottom: 1px solid #ddd;
	padding-bottom: 20px;
	margin-bottom: 20px;
}
.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%;
}
.grad-msg {
    font-size: 1.8em;
    display: block;
    text-align: center;
    font-weight: bold;
    background-color: #f5f5f5;
    padding: 20px;
    margin-bottom: 20px;
}
.grad-msg .video-container {
    margin-bottom: 20px;
}
#video-section {
    background: #111d35;
    padding-bottom: 40px;
}
#video-section h3 {
    font-size: 2.5rem;
    color: #fff;
    display: block;
    border-top: 2px solid #253a63;
    line-height: 0.05em;
    margin-bottom: 20px;
}
#video-section h3 span {
    background: #111d35;
    padding: 0 30px 0 15px;
}
#video-section img {
    width: 100%;
    height: auto;
}
#video-section p {
    font-size: 1.4em;
    text-align: center;
    background: #f5f5f5;
    padding: 10px;
    margin: 0px;
}
#highlight-section {
    padding: 40px 0 0;
    font-size: 1.6rem;
}
#highlight-section h3, #events-section h3 {
    font-size: 2.5rem;
    color: #111d35;
    display: block;
    border-top: 2px solid #253a63;
    line-height: 0.05em;
    margin-bottom: 60px;
    text-align: center;
}
#highlight-section h3 span, #events-section h3 span {
    background: #fff;
    padding: 0 30px;
}
#highlight-section .row {
    margin-bottom: 50px;
    background-color: #f7f6f5;
}
#highlight-section img {
    width: 100%;
    height: auto;
}
#highlight-section h4 {
    font-size: 2.9rem;
}
#highlight-section .col-md-5 {
    padding: 0!important;
}
#highlight-section .col-md-7 {
    padding: 20!important;
}
#events-section {
    padding: 40px 0;
    background-color: #00698c;
    color: #fcfcfc;
}
#events-section .event-item {
    text-align: center;
    letter-spacing: 1px;
    font-size: 1.7rem;
}
#events-section h3 {
    font-size: 2.5rem;
    color: #fcfcfc;
    display: block;
    border-top: 2px solid #fcfcfc;
    line-height: 0.05em;
    margin-bottom: 60px;
    text-align: center;
}
#events-section h3 span {
    background: #00698c;
    padding: 0 30px;
}
#events-section a {
    color: #fcfcfc;
}
.event-item {
    background-color: #197d9f;
    padding: 20px;
}
#events-section a:hover .event-item {
    background-color: #4594af;
}
#events-section a:hover {
    color: #fcfcfc;
    text-decoration: none;
}
.alumn-box {
    padding: 20px;
    background: #104d86;
    color: #fff;
}
.alumn-box a, .event-box a {
    color: #fff;
}
.alumn-box a:hover, .event-box a:hover {
    color: #fff;
    text-decoration: underline;
}
.alumn-box h3, .event-box h3 {
	color: #fff;
	text-transform: uppercase;
    font-family: "Sofia Pro";
    font-size: 20px;
    margin: 0 0 30px;
    padding-bottom: 20px;
}
.alumn-box h3 {
    border-bottom: 2px solid #779abb;
}
.event-box h3 {
    border-bottom: 2px solid #77bbab;
}
.event-box hr {
    border-top: 1px solid #77bbab;
}
.thumb-img img {
    width: 40%;
    height: auto;
    float: right;
    padding: 0 0 20px 20px;
}
.event-box {
	padding: 20px;
    background: #108681;
    color: #fff;
	margin-bottom: 30px;
}
#announce-section {
    padding: 40px 0;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    text-align: center;
}
#announce-section .row {
    padding-bottom: 30px;
}
.anncounce-box img {
    width: 100%;
    height: auto;
}
.anncounce-box .anntext {
    display: block;
    padding: 10px;
    background: #fff;
}


/* 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 {
    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 a:hover {
    text-decoration: none;
    background: #f5f5f5;
}
.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;
    clear: both;
}
.sec-content h4 {
    font-size: 2.5rem;
    line-height: 3rem;
    margin-bottom: 15px;
}
.sec-content img {
    max-width: 100%;
    height: auto;
}
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-bottom: 15px;
}
.people-box img {
	height: auto;
    width: 100%;
}
.people-text {
	
}
.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;
    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, 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;
}
.tile-inner {
    border: 1px solid #ddd;
    color: #000;
    padding: 10px 20px;
    font-size: 1.5rem;
    margin-top: 20px;
}
.tile-inner h5 {
    font-size: 2rem;
}
.tile-inner img {
    width: 80%;
    height: auto;
}
.tile-inner .col-sm-3 {
    text-align: right;
}
/* Research Tabs */
.res-intro {
    /*border: 1px solid #ddd;
    background: #f5f5f5;*/
    padding: 20px;
}
.tab-pane {
    border-top: 5px solid rgba(106, 195, 193, 1);
}
.research-areas .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    border: transparent;
    background: #fff;
}
.research-areas .nav-tabs>li>a:hover {
    background: #ffff!important;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, 0.24);
}
.tab-content div, .tab-content {
    padding-top: 30px;
}
.research-areas .las {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: 80%;
    font-size: 40px;
}
.research-areas .nav-tabs>li>a {
    margin-right: 0!important;
    line-height: 1.42857143;
    text-align: center;
    display: block;
    color: #337ab7;
    font-size: 20px;
    border-radius: 0!important;
    height: 300px;
    border: none!important;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.24);
}
.research-areas .nav-tabs>li {
    width: 21%;
    margin: 0 2%;
}
.research-areas .nav-tabs {
    border-bottom: none!important;
    padding-top: 20px;
}
.research-areas span {
    position:absolute;
    top:55%; left:50%;
    transform: translate(-50%, -50%);
    margin:0;
    width: 80%;
  }
.research-areas .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: rgba(106, 195, 193, 1)!important;
    cursor: default;
}
/* Media Queries */

@media (max-width : 567px) {
    .image-wrapper img {
        width: 100%!important;
        height: auto;
    }
    .col5 {
        width: 100%;
        padding: 5px 15px;
    }
    #video-section img {
        display: none;
    }

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

@media (min-width : 568px) {
    .carousel-outer {
        max-width: 1470px;
        position: relative;
        margin: 0 auto;
    }
    .image-wrapper img {
        width: 100%!important;
        height: auto;
    }
    .col5 {
        width: 20%;
        padding: 15px;
        float: left;
    }
    #video-section p {
        min-height: 130px;
    }
}



/* 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;
}
.image-caption {
    padding: 15px 30px!important;
}
.sm-hide {
    display: none;
}
}

/* 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) {

#image-section {
    padding: 40px 0;
}
.image-caption {
    padding: 2% 15px!important;
}
}


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