/****************************************/
/****************************************/
/** Australian Association of Gerontology **/
/*
 * 
 *  Author: CAUSEIS PTY LTD 
 * 
 *  Version: 1 -   
 *
 * 
 *  Document contains changes to Typography
 *
 *
*/
/****************************************/
/****************************************/
body, p, a, p a, h3, h6, .h3, .h6, .SectionTitle, .carousel h3, input, button, select, textarea {
    font-family: 'Open Sans' !important;
}

h1, h2, h4, h5, .h1, .h2, .h4, .h5, .PageTitle, .PanelTitle, .SectionLabel, .SectionLabelSmaller.carousel h1, .carousel h2, .carousel h4, .carousel h5 {
    font-family: 'Museo Slab' !important;
}

body, p, .iMIS-WebPart div[id*="_Panel_"], p a {
   color: #424244;
    font-size: 1.7rem;
    font-weight: 400;
}

body div[id*="_Panel_"], body div[id*="_Panel_"] p, body div[id*="_Panel_"] p a {
    
}

h1, .h1, .PageTitle {
    color: #EF4136;
    font-size: 5.5rem;
    font-weight: 700;
}

 

h2, .h2, .PanelTitle {
    color: #424244;
    font-size: 4rem;
    font-weight: 100;
    border: none !important;
}

h3, .h3, .SectionTitle {
   color: #EF4136;
    font-size: 3rem;
    font-weight: 400;
}

h4, .h4, .SectionLabel {
     color: #424244;
    font-size: 2.7rem;
    font-weight: 300;
}

h5, .h5 {
    color: #424244;
    font-size: 2.36rem;
    font-weight: 500;
}

h6 {
   
}


/***** colored headings START *****/

body[class*="ed"] h1, body[class*="ed"] .h1, body[class*="ed"] .PageTitle, body[class*="ed"] h3, body[class*="ed"] .h3, body[class*="ed"] .SectionTitle, body[class*="ed"] h4, body[class*="ed"] .h4, body[class*="ed"] .SectionLabel{
   color: #EF4136;
}

body[class*="lue"] h1, body[class*="lue"] .h1, body[class*="lue"] .PageTitle, body[class*="lue"] h3, body[class*="lue"] .h3, body[class*="lue"] .SectionTitle, body[class*="lue"] h4, body[class*="lue"] .h4, body[class*="lue"] .SectionLabel {
   color: #2a3a76;
}

body[class*="reen"] h1, body[class*="reen"] .h1, body[class*="reen"] .PageTitle, body[class*="reen"] h3, body[class*="reen"] .h3, body[class*="reen"] .SectionTitle, body[class*="reen"] h4, body[class*="reen"] .h4, body[class*="reen"] .SectionLabel {
   color: #00a84b;
}

h1[class*="ed"], .h1[class*="ed"], .PageTitle[class*="ed"], h2[class*="ed"], .h2[class*="ed"], .PanelTitle[class*="ed"], h3[class*="ed"], .h3[class*="ed"], .SectionTitle[class*="ed"], h4[class*="ed"], .h4[class*="ed"], .SectionLabel[class*="ed"], h5[class*="ed"], .h5[class*="ed"] {
   color: #EF4136;
}

h1[class*="lue"], .h1[class*="lue"], .PageTitle[class*="lue"], h2[class*="lue"], .h2[class*="lue"], .PanelTitle[class*="lue"], h3[class*="lue"], .h3[class*="lue"], .SectionTitle[class*="lue"], h4[class*="lue"], .h4[class*="lue"], .SectionLabel[class*="lue"], h5[class*="lue"], .h5[class*="lue"] {
   color: #2a3a76;
}

h1[class*="reen"], .h1[class*="reen"], .PageTitle[class*="reen"], h2[class*="reen"], .h2[class*="reen"], .PanelTitle[class*="reen"], h3[class*="reen"], .h3[class*="reen"], .SectionTitle[class*="reen"], h4[class*="reen"], .h4[class*="reen"], .SectionLabel[class*="reen"], h5[class*="reen"], .h5[class*="reen"] {
   color: #00a84b;
}

/***** colored headings END *****/

div#masterContentArea .col-primary > div > .row > div > div > div > div > div > div > h1, div#masterContentArea .col-primary > div > .row > div > div > div > div > div > div > h2, div#masterContentArea .col-primary > div > .row > div > div > div > div > div > div > h3, div#masterContentArea .col-primary > div > .row > div > div > div > div > div > div > h4, div#masterContentArea .col-primary > div > .row > div > div > div > div > div > div > h5, div#masterContentArea .col-primary > div > .row > div > div > div > div > div > div > h6, div#masterContentArea .col-primary>div>.row>div>div>div>div>div>div>p {
    margin-bottom: 1.5rem;
}

.iMIS-WebPart div[id*="_Panel_"] a:not(.button):not(.button):not(.Button):not(.TextButton):not(.PrimaryButton):not(.rtsLink):not(.carousel-control):not(.noeffect):not(.arrow):not(.Arrow) , a:not(.button):not(.Button):not(.TextButton):not(.PrimaryButton):not(.rtsLink):not(.carousel-control):not(.noeffect):not(.arrow):not(.Arrow) :visited {
    color: #EF4136;
    text-decoration: none;
    background: linear-gradient(#f5878a, #f5878a) no-repeat left 127%/0% 35%;
   transition: .3s ease-in-out all;
}

.iMIS-WebPart div[id*="_Panel_"] a:not(.button):not(.button):not(.Button):not(.TextButton):not(.PrimaryButton):not(.rtsLink):not(.carousel-control):not(.noeffect):not(.arrow):not(.Arrow):hover, .iMIS-WebPart div[id*="_Panel_"] a:not(.button):not(.Button):not(.TextButton):not(.PrimaryButton):not(.rtsLink):not(.carousel-control):not(.noeffect):not(.arrow):not(.Arrow):active, .iMIS-WebPart div[id*="_Panel_"] a:not(.button):not(.Button):not(.TextButton):not(.PrimaryButton):not(.rtsLink):not(.carousel-control):not(.noeffect):not(.arrow):not(.Arrow):focus {
    background: linear-gradient(#f5878a, #f5878a) no-repeat left 127%/100% 35%;
}