/*
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";
}
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: Georgia, 'Times New Roman', Times, serif;
}
.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;
    border-bottom: 1px solid #ddd;
    position: relative;
}
.lgimg {
}
.lgimg img {
    width: 100%;
    height: auto;
}
.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;
}
.rw-wrapper{
	position: relative;
}
.rw-sentence{
	margin: 0;
	text-align: left;
}
.rw-sentence span{
	white-space: nowrap;
	font-size: 65px;
    font-weight: normal;
    display: block;
}
.rw-words{
    display: block;
    height: 75px;
}
.rw-words span{
	position: absolute;
	opacity: 0;
	overflow: hidden;
	width: 100%;
	color: #6b969d;
}
.rw-words-2 span{
    animation: rotateWordsSecond 24s linear infinite 0s;
    color: #ffb71b;
}
.rw-words span:nth-child(2) { 
	animation-delay: 3s; 
}
.rw-words span:nth-child(3) { 
	animation-delay: 6s; 
}
.rw-words span:nth-child(4) { 
	animation-delay: 9s; 
}
.rw-words span:nth-child(5) { 
	animation-delay: 12s; 
}
.rw-words span:nth-child(6) {  
	animation-delay: 15s; 
}
.rw-words span:nth-child(7) {  
	animation-delay: 18s; 
}
.rw-words span:nth-child(8) {  
	animation-delay: 21s; 
}
@keyframes rotateWordsSecond {
    0% { opacity: 1; animation-timing-function: ease-in; width: 0px; }
    10% { opacity: 0.3; width: 0px; }
	20% { opacity: 1; width: 100%; }
    27% { opacity: 0; width: 100%; }
    100% { opacity: 0; }
}

/* Index */
.header-image img {
    width: 100%;
    height: auto;
}
#index-img .container {
    border-bottom: 1px solid #ddd;
    padding: 30px 0;
    font-size: 1.5em;
    margin-bottom: 30px;
}
#index-img h2, #news-section h2 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #0f2044;
    margin-bottom: 30px;
    line-height: 4rem;
}
#news-section {
    padding-bottom: 30px;
}
.news-items {
    margin-top: 0;
}
.student-items {
    margin-top: 0;
}
.news-items h2, .student-items h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 0;
}
.newsitem {
    border-left: 5px #ffb71b solid;
    padding: 15px;
    margin-bottom: 20px;
}
.newsitem h3, .student-items h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 0;
    font-size: 2rem;
}
.student-items h3 {
    font-weight: bold;
}
p.date {
    font-size: 1.3rem;
    color: #555;
    padding: 7px 0;
    margin: 0;
}
.student-items img {
    max-width: 50%;
    height: auto;
    float: left;
    padding: 0 20px 20px 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%;
}
#connect-section {
    background: #f5f5f5;
    padding: 50px 0;
    border-top: 2px solid #ddd;
}
.cst-graphic img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}
.careers .inner {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    padding: 20px;
    font-size: 1.2em;
}
.div-text {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 30px;
    font-family: Georgia;
    font-size: 2rem;
    text-align: center;
    line-height: 3.4rem;
    background: #fff;
}
.div-text img {
    float: left;
    padding-right: 30px;
    width: 50%;
}
.div-text p {
    padding-top: 20px;
}

/* Secondary Page */

.secondary-pages {
    padding: 30px 0;
    font-size: 1.7rem;
}
#side-nav {
    padding: 10px 15px;
    margin: 15px 0;
}
.sec-nav h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    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: Georgia, 'Times New Roman', Times, serif;
    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;
}
.people-text {
	padding: 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;
}
.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;
}
.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;
}
.lg-give-btn {
    
}
.lg-give-btn a {
    display: block;
    text-align: center;
    color: #fff;
    ffont-family: Georgia, 'Times New Roman', Times, serif;
    padding: 70px 30px 80px;
    letter-spacing: 1px;
    transition: background-color 0.5s ease;
    background: #104d86;
}
.lg-give-btn a:hover {
    text-decoration: none;
    color: #fff;
    background: #054179;
}
.lg-give-btn span.supportbtn {
    background-image: url(https://aas.uncg.edu/wp-content/themes/CAS-2018/assets/task.svg);
}
.lg-give-btn span.lgrbtn {
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    display: block;
    margin-bottom: 20px;
    height: 30px;
    width: 100%;
}
.lg-give-btn a span.lgtext {
    font-weight: bold;
    font-size: 1.9em;
}
.lg-give-btn a span.smallertext {
    font-weight: bold;
    font-size: 1.2em;
    line-height: 2.2em;
}

/* 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) {
.navbar-nav .open .dropdown-menu>li>a {
    color: #fff!important;
}
.image-caption {
    display: none;
}
.navbar-default .navbar-nav .open .dropdown-menu>.active>a, .navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus, .navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover {
    background-color: transparent!important;
}
div.lg-give-btn {
    margin: 20px 0;
}
}


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

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



/* 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;
}
.image-caption {
    padding: 50px 30px;
}
}
