/**
 * Services
 * @author: Tradstar | www.tradstar.info
 * @copyright: Semesp | www.semesp.org.br
 */

/*
    Global
*/

.page-service { margin-bottom: 40px !important; }
.page-service .page-title-icon { background-color: #fff !important; }
.page-service .post-terms { display: none; }

.service-list { width: 100%; display: inline-block; position: relative; }
.service-item { margin-bottom: 30px; padding-bottom: 30px; border-bottom: solid 4px #f6f6f6; display: block; position: relative; }
.service-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.service-item a { transition: all .2s ease; }
.service-item-title { line-height: 22px; font-size: 22px; text-transform: uppercase; display: block; position: relative; }
.service-item-title a { font-weight: bold; font-family: 'Myriad Pro'; }
.service-item-title a:hover { color: #616161; }
.service-item-date { margin-top: 5px; font-size: 14px; color: #29262e; font-weight: bold; display: block; position: relative; }
.service-item-excerpt { height: auto; margin-top: 15px; line-height: 24px; font-size: 16px; color: #29262e; display: block; position: relative; }

#widget-service { padding: 0; background-color: #fff; }
#widget-service .widget-title { width: 100%; height: 40px; margin-bottom: 0; font-size: 24px; font-family: 'Myriad Pro'; font-weight: bold; color: #606060; border-bottom: solid 3px #606060; text-transform: uppercase; text-align: center; z-index: 2; display: inline-block; position: relative; }
#widget-service .widget-title:after { content: ''; width: 100%; height: 12px; bottom: 0; left: 0; position: absolute; background: repeating-linear-gradient(45deg, #fff, #fff 4px, #e0e0e0 4px, #f0f0f0 6px); }
.widget-service { padding: 30px; background-color: #fafafa; border-bottom: solid 3px #606060; display: block; position: relative; }
.widget-service-item { height: 60px; margin-bottom: 15px; display: block; position: relative; }
.widget-service-item:last-child { margin-bottom: 0; }
.widget-service-link { width: 100%; height: 100%; display: inline-block; position: relative; }
.widget-service-icon { width: 60px; height: 60px; background-repeat: no-repeat; background-position: center center; background-size: 70%; overflow: hidden; float: left; position: relative; border-radius: 80px; }
.widget-service-icon:before { content: ''; opacity: 0; visibility: hidden; width: 100%; height: 100%; top: 0; left: 0; background-color: rgba(41, 38, 46, .2); z-index: 2; display: block; position: absolute; transition: all .1s ease; }
.widget-service-link:hover .widget-service-icon:before { opacity: 1; visibility: visible; }
.widget-service-name { top: 50%; transform: translateY(-50%); padding-left: 75px; line-height: 1.2em; font-size: 18px; font-family: 'Cronos Pro Light'; text-transform: uppercase; display: block; position: relative; }
.widget-service-name strong { font-family: 'Cronos Pro Bold'; font-size: 20px; font-weight: normal !important; }
#widget-service-icons { width: 100%; display: inline-block; position: relative; }

.single-service .news-list { display: grid !important; }

/*
    Landing Pages
*/

.sm-service-page .sm-contact-form { width: 100% !important; display: none !important; visibility: hidden !important; }
.sm-service-page .sm-contact-form.visible { display: inline-block !important; visibility: visible !important; }

.sm-service-page .sm-contact-form .et_pb_contact_main_title { padding-bottom: 0 !important; font-size: 1px !important; color: transparent !important; }
.sm-service-page .sm-contact-form .et-pb-contact-message { margin-bottom: 30px !important; line-height: 1.4em !important; font-size: 18px !important; font-weight: 100 !important; color: #c80725 !important; }
.sm-service-page .sm-contact-form .et_contact_bottom_container { margin-top: 20px !important; }

.sm-service-page #et-boc .et-l .et_pb_contact input.et_pb_contact_captcha { width: 100px !important; max-width: 100px !important; }

.sm-service-law .sm-service-calendar .ui-datepicker td.ui-datepicker-today a:hover, .sm-service-law .sm-service-calendar .calendar-slider .flex-direction-nav a:before { color: #1a89fb !important; }
.sm-service-law .sm-service-calendar .ui-datepicker .ui-datepicker-header, .sm-service-law .sm-service-calendar .ui-datepicker .ui-datepicker-header .ui-state-hover, .sm-service-law .sm-service-calendar .ui-datepicker td.ui-state-active:not(.ui-datepicker-today) a { background: #1a89fb !important; }
.sm-service-law .sm-service-calendar .ui-datepicker td.ui-state-active:not(.ui-datepicker-today) a:hover { background: #005598 !important; }
.sm-service-law .sm-service-calendar .calendar-slider-item { background-color: #fff !important; }
.sm-service-law .sm-service-calendar .calendar-slider-item:before { background: repeating-linear-gradient(45deg, transparent, transparent 4px, transparent 4px, #fafafa 6px) !important; }
.sm-service-law .sm-service-calendar .calendar-slider-item:hover .calendar-slider-title { color: #1e75ba !important; }
.sm-service-law .sm-service-calendar .calendar-slider-item.featured .calendar-slider-date { background-color: #1e75ba !important; }

.sm-service-financing .sm-service-calendar .ui-datepicker td.ui-datepicker-today a:hover, .sm-service-financing .sm-service-calendar .calendar-slider .flex-direction-nav a:before { color: #4a7f4a !important; }
.sm-service-financing .sm-service-calendar .ui-datepicker .ui-datepicker-header, .sm-service-financing .sm-service-calendar .ui-datepicker .ui-datepicker-header .ui-state-hover, .sm-service-financing .sm-service-calendar .ui-datepicker td.ui-state-active:not(.ui-datepicker-today) a { background: #4a7f4a !important; }
.sm-service-financing .sm-service-calendar .ui-datepicker td.ui-state-active:not(.ui-datepicker-today) a:hover { background: #364836 !important; }
.sm-service-financing .sm-service-calendar .calendar-slider-item { background-color: #fff !important; }
.sm-service-financing .sm-service-calendar .calendar-slider-item:before { background: repeating-linear-gradient(45deg, transparent, transparent 4px, transparent 4px, #fafafa 6px) !important; }
.sm-service-financing .sm-service-calendar .calendar-slider-item:hover .calendar-slider-title { color: #4a7f4a !important; }
.sm-service-financing .sm-service-calendar .calendar-slider-item.featured .calendar-slider-date { background-color: #4a7f4a !important; }

/*
    Desktop Only
*/

@media all and ( min-width: 981px ){

    .single-service .news-list { grid-template-columns: repeat(3, 1fr) !important; grid-gap: 40px !important; }
    .single-service .news-list .news-thumb { max-height: 160px !important; }
    .single-service .news-list .news-thumb-bg { height: 160px !important; }
    .single-service .news-thumb img { width: 105% !important; max-width: 105% !important; }

}

/*
    Tablet & Mobile
*/

@media all and ( max-width: 980px ){

    .single-service .news-list .news-thumb-bg { min-height: 160px !important; }

    .widget-service { columns: 2; }

}

/*
    Tablet Only
*/

@media all and ( min-width: 768px ) and ( max-width: 980px ){

    .single-service .news-list { grid-template-columns: repeat(3, 1fr); grid-gap: 40px; }

}

/*
    Mobile Only
*/

@media all and ( max-width: 767px ){

    .single-service .news-list { grid-template-columns: repeat(2, 1fr) !important; grid-gap: 40px !important; }

}

@media screen and ( max-width: 479px ){

    .single-service .news-list { grid-template-columns: repeat(1, 1fr) !important; grid-gap: 50px !important; }

}