@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');
@import url("https://use.typekit.net/edx8erp.css");

* {font-family: 'Montserrat', sans-serif !important;}
#page-wrapper {background: #fff !important;}

#header #logo img {width: 45%;}
.block-service-links {display: none;}
.panel-pane {
border-bottom: 0px !important; 
box-shadow: none; 
background-color: transparent; 
margin-bottom:0px;
border-radius: 0px !important;
}

/*Typography*/
h1, h2, h3, h4, h5 {font-family: 'Montserrat', sans-serif !important;}
p, div, li, ol, ul {font-family: "open-sans", sans-serif !important;}

h1 {
    font-weight: 600 !important;
    color: #00205B !important; 
}

h2, .ds-1col.node-course h2 {
    font-weight: 600 !important;
    color: #00205B !important;
}


h3 {
    font-weight: 600 !important;
    color: #00205B !important;
}

h4 {
    font-weight: 600 !important;
    color: #97999B  !important;
}

p {
    font-weight: 400 !important;
    color: #63666a;
}

#content-area a:hover {text-decoration: underline !important; color: #348bac;}

/*Buttons*/
a.submit {border-radius: 0px;}

/*Main Menu*/
#main-menu li a {font-size: 85%; font-weight: 600; text-transform: uppercase;}
#main-menu li li a, #main-menu li li.first a, #main-menu li li a.active-trail {
    font-size: 85%; 
    font-weight: 700; 
    text-transform: capitalize;
}
#navigation li ul.menu {background: #fff;}
#main-menu li a:hover, #main-menu li a.active-trail {color: #fff; text-decoration: none !important; font-weight: 700;}
#main-menu li li a:hover {color: #D1350f;}

/*Homepage*/
h3.pane-title {text-align: center;}

#my-content .pane-title {
    background: #00205b !important;
    color: #fff !important;
    border-radius: 0px !important;
}
#my-content .pane-content {border: 1px solid #979797; border-top: 0px !important;}
#my-content a {text-decoration: none;}

/*Course Cards*/
#content-area .catalog-grid .view-content table td {
    box-shadow: none;
    border-radius: 0px;
    border: 1px solid #979797;
}
#content-area .catalog-grid .view-content table td:hover {
    box-shadow: 0px 3px 4px 0px rgba(0,0,0,0.3);
    border-bottom: 10px solid #d1350f;
    transition: .2s;
}

#content-area .catalog-grid .view-content table td .catalog-grid-inner .title {font-weight: 600;}

/*Course Card Image*/
#content-area .catalog-grid .view-content table td .views-field-field-course-image-cards img {border-radius: 0px;}


/*Course Card Tags*/
#content-area .catalog-grid .view-content table td .catalog-grid-inner .category li {
    font-family: open-sans-condensed, sans-serif !important;
    font-weight: 700;
    font-style: normal;
    letter-spacing: .3px;
    background-color: #348BAC !important;
    border-radius: 0px;
    color: #fff;
    text-transform: uppercase;
}

/*Course Overview Tabs*/
#content-area .resp-tabs-list li a, #tabs-container .tabs-secondary li a {border-radius: 0px;}

/*Course Titles*/
#content-area .ds-1col.node-course .group-header h1 {line-height: 1.1;}

/*Footer*/
#footer p, #footer h2, #footer h3, #footer h4 {color: #fff !important;}
#footer #footer-contact-us {text-transform: uppercase;}
#footer-inner > table > tbody > tr > td:nth-child(2) {border-right: 1px solid #fff;}
#footer-inner > table > tbody > tr > td:nth-child(3) {padding-left: 20px;}
#footer a:hover {text-decoration: underline !important; font-weight: 700;}

/*Sub Footer*/
#footer .sub-footer {text-align: center;}
#footer .sub-footer ul li {
    border-left: 1px solid #fff;
    display: inline-block !important;
    margin: 0 0 0.5em 15px;
    padding: 0 0 0 15px;
}
#footer .sub-footer ul li:nth-child(1) {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

#ethosce-footer-callout {
    background-image: url(/sites/default/files/sitefooter_ethos.flat_white.png);
    background-size: contain; 
    opacity: .5;
}
/*Hide Sell Price Catalog*/
#block-facetapi-b91saswoacmhgyg5txfupyfo0mvoxnyz {display:none;}

/* Hide the "Sort by" dropdown and label */
select#edit-sort-by,
label[for="edit-sort-by"] {
  display: none !important;
}

/* Hide the "Sort by" container */
div.views-exposed-widget.views-widget-sort-order {
  display: none !important;
}

/* Recent Courses - Equal Width Cards */
#content-area .catalog-grid .view-content table {
width: 100%;
table-layout: fixed;
}

#content-area .catalog-grid .view-content table td {
width: 33.333% !important;
min-width: 33.333% !important;
max-width: 33.333% !important;
vertical-align: top;
box-sizing: border-box;
}

/* Force text to wrap inside course cards */
#content-area .catalog-grid .view-content table td,
#content-area .catalog-grid .view-content table td * {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    white-space: normal !important;
}

/* Course title */
#content-area .catalog-grid .view-content table td .title,
#content-area .catalog-grid .view-content table td .views-field-title,
#content-area .catalog-grid .view-content table td h3 {
    white-space: normal !important;
    overflow-wrap: break-word;
    line-height: 1.3;
}

/* Category tags */
#content-area .catalog-grid .view-content table td .category li {
    white-space: normal !important;
    overflow-wrap: break-word;
    text-align: center;
    line-height: 1.2;
}

.course-credit-list .course-credit-description {display:flex;align-items:center;}