/* 

VT Weather component
May 2024
Lee Hawkins - lehawkin@vt.edu

*/
.vt-weather-reader {
	padding: 1em;
	background-color: white;
	border-radius: 15px;
}

.vt-weather-info {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.vt-weather-content {
	line-height: 1.7;
	flex-grow: 1;
	flex: 1;
}
.vt-current-temperature,
.vt-weather-obs-time {
	text-wrap: nowrap;
}
.vt-weather-img {
	border-radius: 15px;
	max-width: 125px;
	width: 100%;
}
.vt-weather-icon {
	margin: auto;
}

.vt-weather-location {
	font-family: 'gineso-condensed';
	font-weight: 600;
	font-size: 1.2em;
}

.vt-current-weather,
.vt-current-temperature,
.vt-weather-obs-time {
	display: block;
}
@media screen and (max-width: 429px) {
	.vt-weather-img {
		max-width: unset;
	}
}
@media screen and (min-width: 768px) {
	.vt-current-temperature {
		display: inline-block;
		margin: 0 10px 0 0;
	}
	.vt-weather-obs-time {
		display: inline-block;
	}
}


/* CMS COMPONENTS ACCORDION STYLES */

.vt-accordion-group,
.vt-tab-group {
    margin: 10px 0px 10px 0px
}

.vt-accordion {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: hidden;
  }

  .vt-accordion .vt-hide {
    display: none;
  }
  .vt-accordion button {
    display: flex;
    justify-content: space-between;
    border-style: none;
    z-index: 2;
  }

  .vt-accordion .vt-accordion-trigger svg {
    display: block;
    min-width: 1.25em;
    height: 1.25em;
    transition: transform 0.2s;
    transform: rotate(-45deg);
  }

  .vt-accordion .vt-accordion-trigger {
    display: flex;
    align-items: center;
    margin: 0.5em 0px 0px 0px;
    padding: 10px 15px;
    position: relative;
    text-align: left;
    width: 100%;
    outline: none;
    border-radius: 10px;
    border: 1px solid black;
  }
  
  .vt-accordion .vt-accordion-trigger[aria-expanded=true] {
    background-color: rgb(255, 255, 255);
    border-bottom: 0px;
    margin-bottom: 0px;
    border-radius: 10px 10px 0px 0px;
    transition-property: background-color;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
  }
  
  .vt-accordion .vt-accordion-trigger[aria-expanded=true] svg {
    transform: rotate(0deg);
  }

  .vt-accordion .vt-accordion-panel {
    position: relative;
    margin: 0;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 0px 0px 10px 10px;
    border-top: 0px;
    padding: 12px;
  }

  .vt-accordion h2, .vt-accordion h3, .vt-accordion h4, .vt-accordion h5, .vt-accordion h6 {
    margin: 0px;
  }

  .vt-accordion .vt-text p,
  .vt-accordion .vt-rawhtml p {
    margin-block-start: 0px;
  }

/* TAB STYLES */

@media screen and (min-width: 768px) {
    .vt-tab-group .vt-tab-list,
  .vt-tab-group .vt-tab,
  .vt-tab-group .vt-tab-content {
      display: flex;
    }
    .vt-tab-group .vt-mobile-tab-accordion .vt-accordion-trigger {
      display: none;
    }
  }

  .vt-tab-list {
    display: none;
  }

  .vt-tab-list [role=tab] {
    position: relative;
    z-index: 2;
    top: 2px;
    margin-bottom: 15px;
    border: 1px solid rgb(0, 0, 0);
    outline: none;
    font-weight: 500;
    font-size: 1.125rem;
    font-family: "gineso-condensed", sans-serif;
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    align-items: start;
    min-width: 50px;
  }
  
  .vt-tab-list [role=tab][aria-selected=true] {
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom-color: rgb(255, 255, 255);
    background-color: rgb(255, 255, 255);
  }
  
  .vt-tab-content {
    display: none;
    position: relative;
    top: -9px;
    padding: 10px;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 0 0 5px 5px;
    width: 100%;
    overflow: auto;
  }
  
  .vt-tab-content .vt-hide {
    display: none;
  }
.vt-editor-component-outline{
    border: 1px solid #000; 
    padding: 5px;
}

.vtctalink{
    word-wrap: break-word;
    overflow-wrap: break-word;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}
.vtctalink.inline{
    display: inline-block;
}

.vtctalink .d-flex{
    display: flex;
}
.vtctalink .d-flex.justify-content-start{
    justify-content: start;
}

.vt-ctaLink{
    display: block;
    text-decoration: none;
    margin: 1em 3px 0 3px;
}



.vtctalink > .justify-content-end{
    justify-content: flex-end;
}

.vtctalink > .justify-content-center{
    justify-content: center;
}

.vt-ctaLink{
    padding: 0.875rem 4.375rem;
    text-align: center;
}

.vt-ctaLink.btn-shadow{
    box-shadow: 0 0 10px rgba(102, 102, 102, 0.7);
}

.vt-ctaLink.uppercase{
    text-transform: uppercase;
}

.vt-ctaLink.w-100{
    width: 100%;
}

.vt-ctaLink.maroon{
    background: rgba(134, 31, 65, 1);
    border: 2px solid rgba(134, 31, 65, 1);
    color: rgba(255, 255, 255, 1);
}
.vt-ctaLink.maroon:hover{
    background: rgba(165, 38, 80, 1);
    border-color: rgba(165, 38, 80, 1);
}
.vt-ctaLink.outline.maroon{
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(134, 31, 65, 1);
    color: rgba(134, 31, 65, 1);
}
.vt-ctaLink.outline.maroon:hover{
    background: rgba(134, 31, 65, 1);
    color: rgba(255, 255, 255, 1);
}

.vt-ctaLink.orange{
    background: rgba(198, 70, 0, 1);
    border: 2px solid rgba(198, 70, 0, 1);
    color: rgba(255, 255, 255, 1);
}
.vt-ctaLink.orange:hover{
    background: rgba(208, 74, 0, 1);
    border-color: rgba(208, 74, 0, 1);
}
.vt-ctaLink.outline.orange{
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(198, 70, 0, 1);
    color: rgba(198, 70, 0, 1);
}
.vt-ctaLink.outline.orange:hover{
    background: rgba(198, 70, 0, 1);
    color: rgba(255, 255, 255, 1);
}

.vt-ctaLink.dark{
    background: rgba(0, 0, 0, 1);
    border: 2px solid rgba(0, 0, 0, 1);
    color: rgba(255, 255, 255, 1);
}
.vt-ctaLink.dark:hover{
    background: rgba(255, 255, 255, 1);
    color: rgba(0, 0, 0, 1);
}
.vt-ctaLink.outline.dark{
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(0, 0, 0, 1);
    color: rgba(0, 0, 0, 1);
}
.vt-ctaLink.outline.dark:hover{
    background: rgba(0, 0, 0, 1);
    border: 2px solid rgba(0, 0, 0, 1);
    color: rgba(255, 255, 255, 1);
}

.vt-ctaLink.light{
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(132, 114, 137, 1);
    color: rgba(134, 31, 65, 1);
}
.vt-ctaLink.light:hover{
    color: rgba(0, 0, 0, 1);
}
.vt-ctaLink.outline.light:hover{
    background: rgba(165, 38, 80, 1);
    color: rgba(255, 255, 255, 1);
}

.vt-multicolumn .vtctalink .vt-ctaLink.w-100{
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.vtctalink .vt-ctaLink
{
    user-select: auto;
}

@media screen and (min-width: 992px) and (max-width: 1099px) {
    .vtctalink .vt-ctaLink
    {
        padding: 1vw 1.65vw;
    } 
}
@media screen and (min-width: 1100px) and (max-width: 1599px) {
    .vtctalink .vt-ctaLink
    {
        padding: 0.75vw 1.5vw;
    } 
}
@media screen and (min-width: 1600px) {
    .vtctalink .vt-ctaLink
    {
        padding: 0.5vw 1vw;
    } 
} 

.vt-callToAction-message{
    min-width: 50%;
}

.vt-callToAction{
    width: 100%;
}

.vt-callToAction .vt-ctalink{
    white-space: nowrap;
}

@media screen and (max-width: 991px){
/* @media screen and (max-width: 1199px){ */

    .vt-callToAction-supplement-fig-container{
        display: none!important;
    }

}

.vtcta-hide{
    display: none;
}
.vt-full-width{
	width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
    padding:10px;
}

.vt-editor-component-outline{
    border: 1px solid #000; 
    padding: 5px;
}
.carousel-caption.left{
    text-align:left;
}

@media (min-width: 767px){
.carousel-caption.left.vt-control-type-belowImage {
    position: absolute;
    left: 27px;
}
}

.carousel-caption.right{
    text-align:right;
}
.carousel-caption.center{
    text-align:center;
}
.carousel-inner>.item>img{
    width: 100%;
}

/*removes black gradient from sides*/
.carousel-control.left, .carousel-control.right, .carousel-control:hover{
    background: none;
    background-color: transparent;
}

.carousel-caption{
    text-shadow: none;
    bottom: 0px;
    padding-top: 0px;
    padding-bottom: 22px;
}

.vt-carousel-control-belowImage {
    position: relative;
    bottom: 44px;
    z-index:1000;
}

.gallery-featured-item img, .vt-carousel .item-image img{
    width: 100%;
}

.vt-carousel-control-belowImage .carousel-indicators {
    position: relative;
    bottom: -5px;
    left: 20px;
    z-index: 15;
    width: 500px;
    padding-left: -6px;
    margin-left: 0;
    text-align: left;
    list-style: outside none none;
}

.carousel-control{
    top: 46%;
    z-index: 10000;
    font-size: 30px;
}

.vt-carousel-control-belowImage .carousel-control {
    position: relative;
    bottom: 0px;
    left: 12px;
    width: 47px;
    font-size: 30px;
    color: #FFF;
    text-align: left;
    text-shadow: none;
    opacity: 1;
    float:left;
}

.vt-carousel li:before{
    content: none;
}

.vt-carousel h3{
    font-size: 35px;
    margin-left: -4px;
    font-weight: 800;
    color: #fff;
}

.vt-carousel p, .vt-carousel a{
    color: #fff;
}

/*corrects width of container when component is in the body*/
.carousel-caption .container,
.vt-carousel-control-belowImage .container
{
    width: 100%;
}

/*gallery*/
.blueimp-gallery > .indicator > li{
    width: 20px;
    height: 20px;
    border-radius:0px;
}


.blueimp-gallery > .prev, .blueimp-gallery > .next,
.blueimp-gallery > .prev, .blueimp-gallery > .prev{
    font-size: 35px;
    background: none;
    border: none;
}

.gallery-thumbnails{
    margin-bottom: 30px;
}

.gallery-thumbnails .thumbnail img {
    max-height: 95px;
    margin-right: 2px;
    margin-bottom: 2px;
}

.gallery.row{
    margin-left: 0px;
    margin-right: 0px;
    margin-bottom: 20px;
}
.gallery-thumbnails .thumbnail{
    margin-bottom: 0px;
    background-color: transparent;
    border: none;
    border-radius: 0px;
    overflow: hidden;
    float: left;
}

.thumbnail{
    padding: 0px;
}


.blueimp-gallery > .slides > .slide > .slide-content {
    max-width: 80%;
    max-height: 60%;
}

.gallery-featured-item .vt-image{
    margin-bottom: 0px;
}


@media (max-width: 767px){
.gallery-thumbnails .thumbnail img {
    max-height: 42px;
}
}

/*xsmall controls and caption move beneath image*/
@media (max-width: 767px){

.carousel-caption,
.carousel-caption.left,
.carousel-caption.center,
.carousel-caption.right

{
    background-color: #333;
    top: 100%;
    position: relative;
    height: 100%;
    left: 0;
    padding-left: 50px;
    padding-right: 50px;
}

.vt-carousel-control-default, .vt-carousel-control-belowImage{
    position: relative;
    bottom: 50px;
    left: 8px;
    margin-left: 20px;
}
}
.download::before {
	content: none !important;
}

.download {
	border-radius: 15px;
	margin: 1em 0 20px 0;
}

/************************************** BEGIN NEW DOWNLOAD STYLES */
.download .vt-download {
	display: flex;
	flex-direction: column;
	background-color: var(--vt-hokieStone-6s);
	color: white;
	border-radius: 15px;
	align-items: unset;
	box-shadow: 0 0 10px rgba(23, 24, 25, 0.2);
	padding: 1em 1.25em 1.25em;
	gap: 1em;
	margin-bottom: 0;
}
@media screen and (max-width: 767px) {
	.download .vt-download-toggle {
		padding-top: 0.5em;
		padding-bottom: 0.5em;
	}
	.download .vt-download-filename {
		padding: 0.5em 0;
	}

	.download .vt-download-description {
		padding: 0.5em 0;
	}
	.download .vt-download-filesize {
		padding: 0.5em 0;
	}
}
.download .vt-download-title {
	font-weight: 600;
	font-size: 1.1em;
	line-height: 1;
	word-break: break-word;
}
.download .vt-download-title:empty {
	display: none;
}
.download .vt-download-details {
	background-color: white;
	color: black;
	border-radius: inherit;
}
.download .vt-download-toggle {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	border: 0;
	border-radius: inherit !important;
	transition: outline-color 0.15s;
	font-weight: 600;
	background-color: transparent;
	padding-top: 0.33em;
	padding-bottom: 0.33em;
	padding-right: 1em;
	padding-left: 1em;
}
.download .vt-download-toggle[aria-expanded=true]:focus {
	outline-offset: -4px;
	outline-color: var(--vt-hokieStone-6s);
}
.download .vt-download-toggle[aria-expanded=true] .vt-download-toggle-icon-img {
	transform: rotate(-180deg);
	-webkit-transform: rotate(-180deg);
}
.download .vt-download-toggle-text {
	font-weight: inherit;
}
.download .vt-download-toggle-text .vt-download-toggle-filename {
	font-weight: inherit;
}
.download .vt-download-toggle-icon {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 1em;
	margin-right: 5px;
}
.download .vt-download-toggle-icon .vt-download-toggle-icon-img {
	transition: transform 0.3s;
}
.download .vt-download-info {
	overflow: hidden;
	padding-right: 1em;
	padding-left: 1em;
	padding-bottom: 0.5em;
}
.download .vt-download-info[aria-expanded=false] {
	display: none;
}
.download .vt-download-filename {
	border-top: 2px dotted var(--vt-hokieStone-6s);
	word-break: break-all;
	font-weight: 600;
	padding: 0.5em 0;
}
.download .vt-download-filename:first-child {
	border-top-style: solid;
}
.download .vt-download-filesize {
	border-top: 2px dotted var(--vt-hokieStone-6s);
	font-weight: 600;
	padding: 0.5em 0;
}
.download .vt-download-filesize:empty {
	display: none;
}
.download .vt-download-filesize:first-child {
	border-top-style: solid;
}
.download .vt-download-description {
	border-top: 2px dotted var(--vt-hokieStone-6s);
	font-style: italic;
	font-weight: 600;
	padding: 0.5em 0;
}
.download .vt-download-filename-text {
	font-style: italic;
}
.download .vt-download-filesize-text {
	font-style: italic;
}
.download .vt-download-link {
	display: inherit;
}
.download .vt-download-link a {
	text-decoration: none;
	color: black;
	text-transform: uppercase;
	font-family: gineso-condensed,sans-serif;
	font-weight: 400;
	background-color: white;
	padding: 0.25em 1em;
	border-radius: unset !important;
	border: 1px solid black;
}
.download .vt-download-link a:hover {
	text-decoration: underline;
}
.download .vt-download-dl-img {
	display: inline-block;
	margin-left: 0.25em;
	height: 1em;
	vertical-align: -0.125em;
}
.download a:focus,
.download button:focus {
	outline-offset: 3px;
	outline-style: dashed;
	outline-width: 2px;
	outline-color: white;
}

/************************************** END NEW DOWNLOAD STYLES */

div.adaptiveimage.image {
	display: inline; 
}
img.editor-hasimage{
    border: 0.125rem solid #ddd;
    opacity: 0.5;
}

.editor-hasimage-text{
  position: absolute;
  color: #CCC;
  display:block;
  height: 30px;
  width:100%;
  overflow: hidden;
  text-align:center;
  line-height: 2.875rem;
  font-size: 1.1rem;
  margin-left: -15px;
}
div.image img{
    max-width: 100%;
}

.vt_thumb_img{
    width: 100px;
}
.vt_small_img{
    width: 185px;
}
.vt_medium_img.img240{
    width: 240px;
}
.vt_medium_img.img490{
    width:490px;
}
