/*------- News page data migration ---------------*/

.node-news .field-name-field-news-image {
    /*float: right;*/
    margin: 0.25em 30px 1em 0;
}
@media screen and (min-width: 600px) {
.node-news .field-name-field-news-image {  max-width: 50%; }
}
@media screen and (max-width: 599px) {
.node-news .field-name-field-news-image {  
    width: 87vw;
    float: none;
 }
}

/* Hub Pages */

@media screen and (max-width: 510px) {
    .hub-row .hub-row-text {
        /*float: left !important;*/
        float: none !important;
        width: 100% !important;
        clear: both !important;
        margin-top: 1em !important;
    }
    .hub-row .hub-row-image {
        width: 100% !important;
        /*float: left !important;*/
        float: none !important;
        clear: both !important;
    }
    .hub-row .hub-row-image img { width: 100%; }
}


#edit-search-block-form--2 {
    min-width: 200px;
}

.search-form div.container-inline {
    min-width: 250px;
}

.hub-row .hub-row-image {
    margin-right: 2%;
    width: 30%;
    float: left;
    clear: both;
}
@media screen and (max-width: 600px) {
    .hub-row .hub-row-image {
        width: 50%;
    }
}

.hub-row .hub-row-text {
    float: left;
    width: 66%;
}

/*-------Main Menu & Breadcrumbs-------------*/

.nav-carbon .yale-boxed-menu, .nav-carbon .yale-wide-menu {
    background-color: #0C7474;
    color: #ffffff;
}
.yalenew-boxed .region-menu .menu > li a, .yalenew-wide .region-menu .menu > li a {
    color: #ffffff;
    font-family: Mallory;
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
    display: inline-block;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
@media screen and (min-width: 1080px) {
.yalenew-boxed .region-menu .menu > li a, .yalenew-wide .region-menu .menu > li a {
    font-size: 14px;
}
}

@media screen and (min-width: 1280px) {
.yalenew-boxed .region-menu .menu > li a, .yalenew-wide .region-menu .menu > li a {
    font-size: 16px;
}
}

.breadcrumb {
    color: #0C7474;
    font-family: Mallory;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    text-transform: capitalize;
}

#jquery-ui-filter ul li:before {
    content: unset;
}

#block-block-334 .caption-wrapper.none {
    float: left !important;
    width: 90px !important;
}

#block-block-334 img {
    width: 45px;
}
#block-block-334 .caption-wrapper img {
    display: inline;
}

header {
    background-image: url(/sites/default/files/images/header-background.png);
    background-color: #fff;
    padding-top: 12px;
    color: #0f4d92;
    background-repeat: repeat;
    background-size: cover;
}
#region-branding .site-name {
    font-family: 'YaleNew-Roman', 'YaleNew Roman', 'YaleNew';
    font-weight: 400;
    font-style: normal;
    font-size: 48px;
    color: #00356B;
    text-align: left;
    margin-bottom: 0.5em;
    margin-top: 0em;
}
@media screen and (max-width: 979px) {
#region-branding #region-branding .site-name { margin-top: -2rem; }
}
@media screen and (max-width: 730px) {
#region-branding .site-name { font-size: 36px; }
#region-branding .site-name { margin-top: -.2rem; }
}

.zone-topper-wrapper {
    margin-bottom: 0;
}

.yalenew-boxed .zone-topper .search-form, .yalenew-wide .zone-topper .search-form {
    background-color: rgba(235, 245, 245, 1);
    color:#333333;
}
 .section-footer {
    background-color: rgba(12, 116, 116, 1);
}
.footer-media {
    border-top: 0;
}
.footer-media ul li a {
}
#block-footer-message-footer-message p a:nth-child(3) {
    display: none;
}
.footer-media .block-inner {
border-style: none;
}
#block-footer-message-footer-message p {
    padding-top: 0;
    font-family: Mallory;
    font-weight: 400;
    font-style: normal;
    line-height: 20px;
    font-size: 16px;
}

#region-footer-second a,#region-footer-third a
{
    font-family: Mallory;
    font-weight: 400;
    font-style: normal;
    color: #AEF4F4;
    line-height: 28px;
    font-size: 16px;
}
#region-footer-second p.copyright {
    display: none;
}
#block-footer-message-footer-message, .icon-links-footer {
    padding-top: 1em;
}
.footer_policy_block {
        border-top: 0;
}
.footer_policy_block .block-inner {
       padding: 1em 0 0 0;
       border-style: none;
}
.footer_policy_block p {
    font-family: Mallory;
    font-weight: 400;
    font-style: normal;
    line-height: 20px;
    font-size: 16px;
}
.zone-footer-wrapper {
    padding-top: 1em;
}
.yale-boxed-menu .menu > li a:hover, .yale-wide-menu .menu > li a:hover {
  /*background-color: rgba(3, 94, 94, 1);*/
  background-color: #0C7474;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
.has-subject.block-block .content, .zone-postscript .block-views .content { margin-top: 0; }

/*--------------------Media Query Start from here----------------------*/
@media (max-width: 739px) {
    .zone-topper .search-form {
        line-height: 3em;
    }
}


@media screen and (max-width: 979px) {
    #block-system-main-menu ul.menu {
        display: inline;
        font-size: 14px;
        justify-content: space-between;
    }
    #block-block-123 .block-inner {
        padding-left: 0;
    }
    
    .yalenew-boxed #nav-ready:before, .yalenew-wide #nav-ready:before, .yalenew-boxed #nav-close:before, .yalenew-wide #nav-close:before {
        color: #0C7474;
        background-color: #eeeeee;
    }
    
    #block-system-main-menu {
        background-color: #0C7474;
    }
}

@media screen and (min-width: 980px) {
    .region-menu .menu > li a {
        float: left;
        padding: 10px 0;
        color: #222;
    }
    #region-footer-second {
        margin-left: 0.5em;
    }
    #region-footer-first {
        margin-right: 1em;
    }
}

/* MPhasis II */ 
.block-block, .block-webform, .sidebar .block-views, .sidebar .block-cck-blocks, .zone-postscript .block-views, .block-twitter-block {
  border-top: 0px solid #222222;
}

#block-views-news-block h2, #block-views-calendar-list-block-5 h2, #region-content h2.block-title {
    font-size: 1.75em;
    font-family: Mallory;
    color: #4a4a4a;
}

.view.view-news .views-field.views-field-nothing {
    float: left;
}

.view.view-news .views-field.views-field-edit-node {
    float: right;
}

#block-views-news-block .field-content a {
    color: #0c7474;
    font-size: 16px;
    font-family: Mallory;
}

#block-views-news-block .view.view-news .views-field.views-field-body span {
    font-size: 16px;
    font-family: Mallory;
    color: #4a4a4a;
    line-height: 26px;
}
.view-id-news.view-display-id-block .view-content {
margin-bottom: 0em;
}

.region-content .view-id-news.view-display-id-block.teaser-list .views-row-last {
margin-bottom: 0em;
padding-bottom: 0em;
border-bottom: 0em;
}
.block-block {
  border-top:0;
  /* margin-bottom: 0em;*/
  margin-top: 0em;
}

.region-sidebar-first-inner aside:first-of-type {
    margin-top: 2em;
}

li span.nolink {
    display: block;
    padding: 0.6em 17px 0 17px;
}

/* .region-sidebar-second-inner aside:last-of-type {
    margin-bottom: 2em;
} */

.block-block .block-inner, .block-views .block-inner, .block-webform .block-inner, .region-sidebar-second .block-views .block-inner, .sidebar .block-cck-blocks .block-inner, .zone-postscript .block-views .block-inner, .block-twitter-block .block-inner
{
  padding:0;
}

/* MPhasis IV */

/*------- Content-type : News ---------------*/
#block-system-main .field-name-field-news-image .field-items img,
#block-system-main .field-name-field-news-image .field-items .caption-wrapper .caption{
    margin-left: 4%;
}

/* ALINA - VIDEO IN IFRAMES RELATIVE SIZING */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}