/*
Theme Name: Studebaker Theme - 2 
Theme URI: http://www.priemerconsulting.com
Description: Studebaker Child Theme
Author: Priemer Consulting
Author URI: http://www.priemerconsulting.com
Template: studebaker
Version: 1.0.1
*/

/* =Theme customization starts here
------------------------------------------------------- */

@import url(../studebaker/style.css);

.site-logo {
    float: left;
    background: none !important;
    position: absolute;
    left: 15px;
    z-index: 1;
    top: 0;
    -webkit-border-radius: 0 0 2px 2px;
    border-radius: 0 0 2px 2px;
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
    box-shadow: none !important;
}
.more-blog-link{display:block;    margin-top: 17px;}

.site-logo img {
    max-width: 300px;
    position: absolute;
    z-index: 1;
}

.main-navigation > ul {
    z-index: 5;
}

.hero-area {
    top: -85px;
    margin-bottom: -95px;
}

.page-header {
    margin: 0px 0 20px;
}

.featured-block figure .caption {
    box-shadow: 0px 313px rgba(0, 47, 108, 0.6) inset;

}

.events-grid .grid-item .event-time {
    padding: 14px 0 0;
}

.h4,
h4 {
    margin-top: 0px !important;
}

.events-grid .meta-data > div:nth-child(1) {
    display: none;
}

.events-grid .meta-data.alt > div {
    padding: 0;
}

.events-grid p {
    display: none;
}

.label-success {
    background-color: #003366;
}

.btn-donate {
    width: 100%;
    font-size: 20px;
    padding-left: 40px;
    padding-right: 40px;
}
.page-header > div{
    position: relative;
    max-width: 1150px;
    width: 100% !important;
}
.page-header > div > div{
    position: relative;
}
.header-style1 .page-header > div > div > span {
    display: inline-block;
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.6);
    line-height: 1;
    left: 50%;
    right: 0;
    max-width: 100%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.icon-box.ibox-center .ibox-icon span {
    background-color: #003366;
    text-decoration: none !important;
}

a.icon-box {
    display: inline;
}

icon-box .ibox-icon i:hover,
.icon-box:hover .ibox-icon i,
.icon-box .ibox-icon span:hover,
.icon-box:hover .ibox-icon span {
    text-decoration: none !important;
}

.social-icons-colored li a {
    height: 28px;
    width: 28px;
    background-color: #003366;
    color: #fff !important;
}

.page-header > div {
    display: table;
    width: 50%;
    height: 260px;
    vertical-align: middle;
}

.header-style1 .page-header > div > div > span,
.header-style2 .page-header > div > div > span,
.header-style3 .page-header > div > div > span {
    display: inline-block;
    position: absolute;
    align-content: baseline;
    bottom: 0;
    left: 100;
}

.copyrights-left {
    text-align: center;
}

.colorbox2 #sgcboxContent {
    margin-top: 32px;
    overflow: visible;
    background: #FFF !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    padding-top: 40px !important;
    font-size: 1.5em !important;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
}

p.full-names {
    font-variant: small-caps !important;
}

span.wpcf7-list-item {
    display: block;
}

.page-header > div {
    width: 1150px;
    text-align: left;
    margin: 0 auto;
}

.events-grid .grid-item .event-time {
    background-image: url('images/event-icon.svg');
    background-size: contain;
}

.so-panel.widget_text {
    box-shadow: none;
    background-color: transparent;
    border: none;
    border-radius: 10px;
    padding: 0 !important;
}

#robly_embed_signup {
    background: transparent !important;
    margin: 0 auto;
    text-align: center;
    width: 500px;
}

#robly_embed_signup form {
    text-align: center !important;
}

#robly_embed_signup h2 {
    color: white;
    font-family: 'Playfair Display';
    font-size: 48px !important;
    text-align: center;
    font-weight: normal !important;
}

#robly_embed_signup .robly_field_group label {
    color: white;
    text-align: center;
    font-size: 16px;
    line-height: 21px;
    margin: 20px 0;
}

#robly_embed_signup input[type=text] {
    background-color: rgba(255, 255, 255, .15);
    border: none !important;
    border-radius: 10px;
    color: white;
    font-size: 16px !important;
    box-shadow: none;
    text-align: center;
    margin: 30px 0 25px 0;
    padding: 20px !important;
}

#robly_embed_signup .button {
    margin: 0 auto;
    text-transform: uppercase;
    height: 45px !important;
    width: 50% !important;
}

#robly_embed_signup input[type=text]::-webkit-input-placeholder {
    color: white;
}

#robly_embed_signup input[type=text]:-moz-placeholder {
    /* Firefox 18- */
    color: white;
}

#robly_embed_signup input[type=text]::-moz-placeholder {
    /* Firefox 19+ */
    color: white;
}

#robly_embed_signup input[type=text]:-ms-input-placeholder {
    color: white;
}

.featured-block figure .caption {
    box-shadow: 0px 313px rgba(0, 47, 108, 0.6) inset;
    box-shadow: none;
}
.featured-block figure .caption:before{
    display: block;
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 47, 108, 0.6);
}
.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-radio  .wpcf7-list-item{
    margin-left: 0;
}


@media (max-width: 1199px) and (min-width: 992px) {
    .main-navigation > ul > li {
        margin-left: 15px;
    }
}


/** styles added by Egor from    **/

.footer-widget.widget ul li {
    list-style-type: none!important;
}

.header-style1 .site-header {
    position: relative!important;
}

.category-blog div#mainWrapper {
    /*    max-width: 1150px;
    animation: 0 au;
    margin: 30px auto;*/
}

/*-------------------------------------------------
#Blog page css 0222018
---------------------------------------------------*/

.blog-breadcrumbs {
    background: #fff;
    -webkit-box-shadow: 0px 2px 2px #E6E6E6;
    box-shadow: 0px 2px 2px #E6E6E6;
    padding: 12px 0;
}

.listing .post-wrapper .post {
    /*padding-left: 15px;
padding-right: 15px;*/
}

.post-wrapper {
    padding: 50px 0;
}

.post-wrapper .post, 
.post-wrapper .blog {
    padding-bottom: 50px;
}

.post-wrapper .post:nth-child(even) {
    /*    background-color: #f9f9f9;*/
}

.post-wrapper .posttitle {
    padding-bottom: 18px;
    margin-bottom: 55px;
    position: relative;
    display: block;
}

.post-wrapper .posttitle:before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: #ccc;
    content: " ";
    z-index: 1;
}

.post-wrapper .post-item .post-thumbnail,
.post-wrapper .post-item .entry {
    display: table-cell;
    vertical-align: top;
}

.post-wrapper .post-item .post-thumbnail {
    width: 50%;
    padding-right: 30px;
}

.post-wrapper .post-item .post-thumbnail img {
    width: 100%;
    padding: 3px;
    border: 1px solid #646464;
}

.post-wrapper .post-item .alignright {
    float: left;
    margin: 0;
    display: block;
    width: 100%;
    padding-bottom: 10px;
    font-size: 11px;
    color: #CDCBCB;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-breadcrumbs .col-md-4 form {
    margin-top: -15px;
}

.tags {
    position: relative;
    padding-left: 18px;
}
.categories{
     position: relative;
}
.tags::before {
    color: #333333;
    content: "\f02b";
    font-family: "FontAwesome";
    font-size: 16px;
    left: 0;
    position: absolute;
    top: 1px;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
}

.tags a{
    font-size: 15px;
    text-transform: capitalize;
    margin: 0 5px;
    font-weight: 600;
    position: relative;
    color: #333333
}


.categories a {
    margin-right: 10px;
    font-size: 15px;
    text-transform: capitalize;
    font-weight: 600;
    position: relative;
    color: #333333
}

.tags a:hover, .categories  a:hover {
    color: #E51937;
}

.tags a:before ,.categories a:before{
    display: block;
    position: absolute;
    content: ",";
    right: -5px;
    bottom: 0;
}

.tags a:last-child:before, 
.categories a:last-child:before {
    display: none;
}
.cat-lits a{
    padding-right: 3px;
    margin-right: 3px;
    position: relative;
}

.cat-lits a:before{
    display: block;
    position: absolute;
    content: ",";
    right: 0;
    bottom: 0;
}
.cat-lits a:last-child:before{
    display: none;
}
body.search .title-subtitle-holder {
    position: relative;
}

body.search .search-text {
    position: absolute;
    align-content: baseline;
    bottom: 0;
}

body.search .search-text h2 {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 30px;
    margin-bottom: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 700;
}

@media (max-width:767px) {
    .post-wrapper .alignright {
        padding-right: 15px;
    }
}


@media (max-width:575px) {
    .post-wrapper .post-item .post-thumbnail {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .post-wrapper .post-item .post-thumbnail,
    .post-wrapper .post-item .entry {
        display: block;
    }

    .header-style1 .page-header > div > div > span{
        width: 100%;
    }
}
