/*
Theme Name: Magnitude
Theme URI: http://aftershockenterprises.com/
Description: Magnitude theme created by Aftershock Digital
Author: Aftershock Digital
Author URI: http://aftershockenterprises.com/
Version: 1.0-A
Text Domain: magnitude
License: GPL
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
/*--------------------------------------------------------------
# Import Theme's Main Stylesheet
--------------------------------------------------------------*/
@import url('./assets/css/theme-styles.css');

/*--------------------------------------------------------------
# Homeless Styles (Your Custom Styles)
--------------------------------------------------------------*/
#footer-newsletter .gfield,
#footer-newsletter .ginput_container,
#footer-newsletter .gform_footer {
	margin-top: 0;
}

#footer-newsletter .gfield {
	line-height: 0;
}

#footer-newsletter .gform_heading {
	margin-bottom: 0;
}


h4.MAG_header,
.section.page h4 {
    line-height: 20px;
}


.footer-locations ul {
    list-style-type: none;
    padding: 0px;
}
#section-home-content .owl-stage,
#section-home-content .owl-item.active {
    width: 100% !important;
}

#map {
    height: 500px;
    width: 100%;
}
#map img {
    box-shadow: none;
}
#map .gm-style-iw {
    width: 200px !important;
    min-height: 200px !important;
}
#map .info_content span {
    font-size: 15px;
}
#map .info_content span strong {
    font-weight: bold;
}
#section-locations #markers {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}
#section-locations #markers > li {
    /*display: inline-block;
    float: left;*/
    display: block;
    width: 100%;
    height: auto;
    margin: 10px 0px;
    padding: 0px;
    box-sizing: border-box;
}
#section-locations #markers > li > .row {
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    border-radius: 5px;
    border: 1px solid #eee;
    box-sizing: border-box;
}
#section-locations #markers > li > .row > [class*="col-"] {
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}
#section-locations #markers > li > .row > .col-md-5 {
    overflow: hidden;
    padding: 0px;
}
#section-locations #markers > li > .row > .col-md-5 > a {
    overflow: hidden; 
    display: block;
    width: 100%;
    height: 100%;
}
#section-locations #markers > li > .row > .col-md-5 > a > img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100%;
    min-width: 100%;
    max-width: none;
    box-shadow: none;
}
@media(max-width: 768px) {
    #section-locations #markers > li > .row > .col-md-5 > a {
        height: 150px;
    }
}


/* Translator */
#tjs-footer {
    background: #444444 !important;
}
/*#tjs-footer svg path {
    fill: #FAA032 !important;
}*/
#lang-list li.current-lang a {
    color: #FAA032 !important;
}
#lang-list li.current-lang a:after {
    border-color: #FAA032 !important;
}

/* Josh's Edits */
#nav-logo-link-container {
       background-repeat: no-repeat;
}

h2 {font-size:30px;}
h3 {text-decoration:none;}

.blog_posts {padding-left:20px;}

.blogbutton {padding-left:20px;}

@media(max-width: 768px) {
.blog_posts {padding-left:0px;}

.blogbutton {padding-left:0px;}

}

h4 img {
    box-shadow: none; 
    height: 35px; 
}

.no-border {
    box-shadow: none !important; 
    margin-bottom: -10px; 
}

.wic-icons img {
    box-shadow: none; 
    height: auto;
    width: 120px; 
    margin-bottom: -20px;  
}

.wic-icons a, 
#qualify-chart {
    color: #444; 
    text-decoration: none;   
}

.wic-icons a {
    font-weight: bold; 
}

iframe {
    height: 500px;
    width: 100%;
    border: none; 
}

@media screen and ( min-width: 1025px ) {
    .wic-icons {
        display: grid; 
        grid-template-columns: 1fr 1fr 1fr 1fr; 
        grid-template-rows: 1fr 1fr;
        text-align: center; 
        align-items: center; 
    }

    .wic-icons .phone {
        grid-row: 1/3; 
        grid-column: 1/2; 
    }

    .wic-icons .calendar {
        grid-row: 1/3; 
        grid-column: 2/3; 
    }

    .wic-icons .location {
        grid-row: 1/3; 
        grid-column: 3/4; 
    }

    .wic-icons .qualify {
        grid-row: 1/3; 
        grid-column: 4/5; 
    }
}

@media screen and ( min-width: 800px ) and ( max-width: 1025px ) {
    .wic-icons {
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        grid-template-rows: auto; 
        text-align: center;
        align-items: center; 
    }
}

@media screen and ( max-width: 800px ) {
    .wic-icons {
        display: grid; 
        grid-template-columns: 1fr; 
        grid-template-rows: auto; 
        text-align: center;
        align-items: center; 
    }

    .wic-icons .phone, 
    .wic-icons .calendar, 
    .wic-icons .location, 
    .wic-icons .qualify {
        margin-bottom: 15px; 
    }
}