/*----- Stylesheet for the DIA dev 2 -----*/

/*Custom alert*/
.paragraphs-item-12056 {
  background: url("https://uit.oregonstate.edu/sites/uit.oregonstate.edu/files/dji_0477_1.jpg");
  background-position: center;
}

.custom-alert {
  background: rgba(0,0,0,0.7);
  color: #d73f09;
  display: flex;
  padding: 20px;
  width: 70%;
}

.custom-alert-text h3 {
  font-size: 70px !important;
  text-transform: uppercase;
  color: white !important;
  background: unset;
  width: inherit;
  line-height: 60px;
}

.custom-alert-text p {
  font-size: 24px;
}

.custom-alert-text a {
  color: #d73f09 !important;
  font-size: 26px;
}

.custom-alert .custom-alert-icon {
  font-size: 1.5em;
  display: flex;
}



/*Slanted left 1-col*/
.p-right {
    overflow: hidden !important;;
}

.p-left .content {
  margin-left: unset !important;
  transform: skewX(-28deg);
  background: white;
  width: 70% !important;
  min-height: 300px !important;
  position: relative;
  right: 200px;
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}

.p-left .field-items .field-item {
  transform: skewX(28deg);
  background-color: unset !important;
  position: relative;
  left: 200px;
  width: 60%;
}

.p-left .field-items h3 {
  background-color: unset;
}

/*Right 1-col*/
.p-right .content {
  margin-left: unset !important;
  transform: skewX(28deg);
  background: white;
  width: 70% !important;
  min-height: 300px !important;
  position: relative;
  left: 200px;
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}

.p-right .field-items .field-item {
  transform: skewX(-28deg);
  background-color: unset !important;
  position: relative;
  left: 100px;
  width: 60%;
}

.pright .field-items h3 {
  background-color: unset;
}

/*Removing padding from the custom 1 col hero section*/
.paragraphs-item-paragraph-1-col-clean {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}

.title-image h3 {
    text-transform: uppercase;
}

/*Menu buttons styling*/
.menu-buttons {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin: auto;
    margin-bottom: 40px;
    margin-top: -20px;
}

.menu-button {
    background-color: #242424;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    padding: 2%;
    height: 150px;
    font-size: 1.2rem;
}

.menu-button .menu-button-content {
    margin: auto;
}

.menu-buttons a {
    text-decoration: unset;
}

.menu-button span {
    margin-top: 15px;
}

.menu-button p {
    margin: 0 !important;
    width: unset !important;
}

.menu-button:hover {
    transform: scale(1.05);
    transition: ease-in-out all 0.2s;
}

.title-image h5 {
    margin: auto;
}

/*----------Title image and menu----------*/

/*Make side menu h5 white*/
.title-image h5 {
    color: white;
}

/*Apply image to this section and update display to flex*/
.title-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://uit.oregonstate.edu/sites/uit.oregonstate.edu/files/2022-12/optimized-0759_campus_3742-min.jpg");
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 50px;
    display: flex;
    flex-direction: column;
    background-position-y: center;
}


/*Image section h3 styling*/
.title-image h3 {
    text-align: center;
    background-color: unset !important;
    padding-top: 100px;
    font-size: 100px !important;
    line-height: 100px;
    color: white;
    max-width: 100%;
    margin: auto !important;
}

/*Image section p styling*/
.title-image p {
    color: white;
    text-align: center;
    position: relative;
    width: 80%;
    margin-left: 10%;
    justify-self: center;
}

/*Remove padding from title-image and side menu bundle*/
.field-name-field-p-1-col-clean-main>div:nth-child(1)>div:nth-child(1) {
    padding: 0px;
}

/*-----------------Main content---------------*/

/*Removing the page title at the top of the page*/
#page-title {
    display: none;
}

.divider-line {
  border: 3px solid #d73f09;
  height: 0;
  width: 100px;
  margin: 20px 0;
}

/*Nav grid cards*/
.views-row .views-field-nothing-1,
.views-row .views-field-nothing-1 .field-content,
.views-row .views-field-nothing-1 .card-icon-text {
    min-height: inherit;
    height: 100%;
}

.card-icon-text {
  display: flex;
  height: 100%;
}

.card-icon-text .card-icon {
  width: 30%;
  font-size: 2em;
  display: flex;
}

.card-icon-text .card-icon span {
  margin: auto;
}

.card-icon-text .card-text {
  width: 70%;
  display: flex;
  flex-direction: column;
}

.card-icon-text .card-questions {
    display: none;
}

.view-dia-dashboards .view-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin: 0 auto;
}

.view-dia-dashboards .view-content .views-row {
    transition: .5s ease-in-out all;
    background-color: #C6DAE7;
    color: black;
    border-radius: 20px;
    border: unset !important;
    padding: 12px;
    min-height: 300px;
}

.view-dia-dashboards .view-content .card-wrapper {
    width: 100%;
}

.view-dia-dashboards .view-content .views-row .card-text-category {
    color: black;
    font-weight: bold;
}

/*Hover effects*/
.view-dia-dashboards .view-content .views-row:hover {
    transition: .5s ease-in-out all;
    transform: scale(1.02);
    box-shadow: 3px 5px 5px grey;
    color: black !important;
    background-color: #eee;
    color: black;
    border-radius: 20px;
    border: unset !important;
}

.view-dia-dashboards .view-content .views-row:hover .card-icon-text .card-text-desc {
    display: none;
}

.view-dia-dashboards .view-content .views-row:hover .card-icon-text .card-questions {
    display: initial;
}

/*disable links tagged with coming soon*/
.views-row.Coming.Soon { opactity: .7;
}

/*---------------Responsive CSS------------------*/

/*Dashboard collection cards*/
@media (max-width: 767px) {


}

@media(max-width: 1200px) and (min-width: 767px) {
    .view-dia-dashboards .card-icon-text {
        flex-direction: column;
    }
    
    .card-icon-text .card-icon {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .card-icon-text .card-text {
        width: 100%;
    }
    
    .card-icon-text .card-icon span {
        margin: auto;
    }
}

@media (max-width: 767px) {
    .title-image-menu {
        flex-direction: column;
    }

    .title-image,
    .title-menu {
        width: 100%;
    }

    .title-image h3 {
        line-height: 100px;
    }

    .paragraphs-item-10061 .row-fluid {
        display: flex;
        flex-direction: column;
    }

    .title-menu p,
    .title-menu .btn {
        margin-right: 20px;
    }
    .view-dia-dashboards .view-content {
        grid-template-columns: 1fr;
    }
    
    .card-wrapper {
        width: 100% !important;
        margin: auto;
    }
    
    .view-dia-dashboards .views-row {
        min-height: 400px;
    }
    
    .card-icon-text {
        flex-direction: row !important;
        min-height: 400px;
    }
    
    .card-icon-text .card-icon {
        width: 30%;
    }
    
    .card-icon-text .card-text {
        width: 70%;
    }
    
    .view-dia-dashboards .views-row .views-field-nothing-1,
    .view-dia-dashboards .views-row .field-content {
        min-height: 400px !important;
        display: block;
    }
    
    .paragraphs-item-12056 {
        background: white;
    }
    
    .paragraphs-item-12056 .custom-alert {
        min-width: unset;
        width: unset;
    }
    
    .custom-alert-text h3,
    .custom-alert-text p {
        width: unset;
    }
    
    .custom-alert-text h3 {
        font-size: 25px !important;
        line-height: 30px;
    }
    
    .custom-alert-text p {
        font-size: 18px;
    }
    
    .title-image h3 {
        font-size: 50px !important;
    }
    
    .menu-button {
        width: 100% !important;
    }
    
    
}

@media (max-width: 1320px){
    .menu-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
}

@media (max-width: 1180px) {
    
    .p-left, .p-right {
        background: white !important;
        overflow: hidden !important;
        min-height: unset !important;
    }
    
    .p-left .content,
    .p-right .content {
        transform: unset;
        width: 100% !important;
        position: initial;
    }
    
    .p-left .content .even,
    .p-right .content .even {
        transform: unset;
        width: 95%;
        overflow: hidden !important;
    }
    
    .p-left .field-item,
    .p-right .field-item {
        left: unset !important;
        right: unset !important;
        width: auto;
    }
    
}