/*
 Theme Name:   VU ANCHORDOWN CHILD - A&SSubsite
 Theme URI:    https://as.vanderbilt.edu
 Description:  WordPress theme built for CAS Departments
 Author:       Digital Strategies, Vanderbilt University
 Author URI:   https://web.vanderbilt.edu
 Template:     ANCHORDOWN-Vanderbilt
 Version:      0.0.1
 Text Domain:  ANCHORDOWN-CHILD-CAS-department
*/


/* Additional CSS */

section.vu-main-content {
    background-color: white;
    padding-top: 0;
}

.ASSubsite-feature-img-container {
    min-height: 300px;
    max-height: 500px;
    overflow: hidden;
    /* background: url("img/as-feature-img.jpg") top center no-repeat; */
    background-size: cover;
    /*margin-bottom: 25px;*/
}

@media only screen and (max-width : 1200px) {
    .ASSubsite-feature-img-container {
        min-height: auto;
    }

}

#wp-post-image {
    background-size: cover;
    min-height: 500px;
    width: 100%;
}

.pt-20 {
    padding-top: 10px;
}

a.email:hover {color:  #fff;}

/* -----------------------------------------------------------------------
Flex Box Container
----------------------------------------------------------------------- */

.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
}

.flex-item {
    flex-grow: 1; /* distributed equally to all children */
    flex-shrink: 1;
    flex-basis: 0;

}

@media only screen and (max-width : 768px) {
    .flex-container {
        display: block;
    }

    .flex-item {
        display: block;
    }
}


.ASSubsite-feature-btn-container {
    background-color: white;
    padding-left: 5%;
    padding-right: 5%;
}

.assubsite-feature-btn-wrapper {
    border: solid 2px #d8ab4c;
    margin: 20px 10px 25px 10px;
    padding: 15px 0px 20px 0px;

}

.assubsite-feature-btn {
    display: block;
    text-align: center;
    font-size: 3em;
}

a.assubsite-feature-btn:hover {
    text-decoration: none;
    color: black;
}

.assubsite-feature-btn:hover .assubsite-feature-btn-last-text-container{
    /*background: #d8ab4c;*/
}

.assubsite-feature-btn:hover .assubsite-feature-btn-last-text {
    background: #d8ab4c;
    /*line-height: 110%;*/
}

.assubsite-feature-btn span {
    display: block;
    margin: 25px 0 20px 0;
    line-height: 100%;
}

.assubsite-feature-btn span:first-child {
    font-size: 0.7em;
}

.assubsite-feature-btn span:nth-child(2) {
    font-size: 0.8em;
}

.vu-gold {
    color: #d8ab4c;
}

.assubsite-feature-btn-last-text-container {
    background: repeating-linear-gradient(135deg, #d8ab4c, #d8ab4c 2px, transparent 2px, transparent 12px);
    margin-bottom: 20px;
}

.assubsite-feature-btn-last-text {
    background-color: #fff;
    display: inline !important;
    color: black;
    font-weight: 500;
    line-height: 150%;
    text-transform: uppercase;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1.2em !important;

}

.ASSubsite-spotlight-container {
    /*margin-top: 20px;*/
    background: #d8ab4c url(https://cdn.vanderbilt.edu/vu-www4/i/bg/bg-gold.jpg);
    background-size: cover;
    padding: 30px 0px;

}
.ASSubsite-spotlight-container h3 { font-size: 2.4em; font-weight: 200; padding: 0px 0px 10px 10px; }
#recent-news .vunewsitem img {
    max-height: 220px;
    max-width: 100%;
    width: 100%;
}

#recent-news .text .title a {
    font-size: 1.4em;
}

#recent-news .text .title a:hover {
    font-size: 1.4em;
    color: #000000;
}

.more-news-button {
    margin-top: 25px;
    float: right;
}

/* -----------------------------------------------------------------------
AS Number Tracker
----------------------------------------------------------------------- */

.as-number-container {
    background-color: #fff;
    padding-top: 15px;
    padding-bottom: 50px;
    text-align: center;
    padding-left: 5%;
    padding-right: 5%;

}

.as-number-value {
    font-size: 4em;
    font-weight: bold;
    color: #006688;
    font-family: 'Rosario', sans-serif;

}


.aux-text-for-number {
    font-size: 1.3em;
    font-family: 'Rosario', sans-serif;
}

/* li.menu-item-87 {
    position: absolute;
    right:18em;
    display: inline-block;
}
li.menu-item-87 a {
    display: block; 
    border-radius: 5px; text-align: center; 
    text-transform: uppercase; 
    font-weight: 400; 
    margin-top: 4px; 
    background: #d8ab4c !important;
    padding: 10px; 
    width: 150%;
    color: #000 !important;
    font-size: 1.5em; 
}

li.menu-item-87 a:hover {
    background-color: #000 !important;
    color: #d8ab4c !important;
} */


/* -----------------------------------------------------------------------
Give button in main menu
----------------------------------------------------------------------- */

.vu-header li.givebutton {
    position: absolute;
    right:18em;
    display: inline-block;
}
.vu-header li.givebutton a {
    display: block; 
    border-radius: 5px; text-align: center; 
    text-transform: uppercase; 
    font-weight: 400; 
    margin-top: 4px; 
    background: #d8ab4c !important;
    padding: 10px; 
    width: 150%;
    color: #000 !important;
    font-size: 1.5em; 
}
.vu-header li.givebutton a:hover {
    background-color: #000 !important;
    color: #d8ab4c !important;
}
