/*
 Theme Name:   Equine Journal
 Version:      0.1
 Template:     gtxcel
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  equinejournal.com
*/


/*--- Header ---*/

.header {
    border-bottom: none;
    margin-bottom: 60px;
    height: 110px;
}

.leaderboard, .ad-manager-placeholder {
    background: transparent;
}

#container {
    background: #f0f0f0;
}

.header #company-logo {
    max-width: 400px;
    margin: 20px auto 0;
}

@media (max-width:768px) {
    .header #company-logo {
        max-width: 250px;
    }
}

nav .nav li ul.sub-menu li a, nav .nav li ul.children li a {
    font-size: 1em;
}

.header .primary-nav-wrapper {
    position: relative;
    top: inherit;
    left: inherit;
}

.header .logo-wrapper {
    position: relative;
    top: inherit;
    left: inherit;
}

.header .utility-nav-wrapper {
    width: 95%;
}

.header .search-form-wrapper {
    top: 0;
    width: 35%;
}

@media screen and (max-width: 981px) {
    .header .search-form-wrapper {
        width: 85%;
        max-width: 100%;
    }
}

@media (min-width: 480px) {
    .logo-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        width: 400px;
    }
    .logo-wrapper .wrap {
        margin: 0 auto;
    }
    a#company-logo {
        background-size: contain !important;
        background-position: top left !important;
        width: 400px;
        margin: 0px auto;
        margin-top: 22px;
        float: none;
    }
}

@media (max-width: 480px) {
    .logo-wrapper {
        max-width: 480px;
        margin: 0 auto;
        width: 375px;
    }
    a#company-logo {
        background-size: contain !important;
        background-position: top left !important;
        width: 95%;
        margin: 0px auto;
        margin-top: 22px;
        float: none;
    }
    .header {
        border-bottom: none;
        margin-bottom: 0px;
        height: 100px;
    }
}


/*Page BG*/

#content {
    background: #f0f0f0;
    padding-top: 15px;
}

#main {
    background: #fff;
    padding-top: 15px;
    margin-top: -17px;
}

.wpb_content_element {
    margin-bottom: 15px;
}

.equine-top-row {
    background: #f0f0f0;
    width: 105%;
    position: relative;
    top: -19px;
    left: -30px;
    display: block;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: -15px;
}


/* Primary Nav */

.primary-nav-wrapper {
    width: 100%;
    position: absolute;
    top: 120px;
}

nav.primary {
    margin-top: 0px;
    font-size: 1em;
}

@media (min-width:1191px) {
    .primary-nav-wrapper .primary ul li a {
        display: inline-block;
        color: #5c6b80;
        font-weight: 700;
        font-size: 18px;
        font-family: 'Droid Sans', sans-serif;
        text-transform: uppercase;
        padding: 5px 20px;
    }
}

@media (min-width:981px) and (max-width:1190px) {
    .primary-nav-wrapper .primary ul li a {
        display: inline-block;
        color: #5c6b80;
        font-weight: 700;
        font-size: 94%;
        font-family: 'Droid Sans', sans-serif;
        text-transform: uppercase;
        padding-top: 4px;
    }
}

nav.primary .nav li a:hover {
    color: #008AB4;
}

.sub-menu {
    background: #fff !important;
}


/*Subscribe Today Button in Main Nav*/

.primary-nav-wrapper .primary ul li.special-nav-item a {
    background: #008AB4;
    color: #fff;
}

.primary-nav-wrapper .primary ul li.special-nav-item a:hover {
    opacity: .7;
}


/* Site Search */

@media (min-width:980px) {
    .search-form-wrapper {
        max-width: 1200px;
        margin: 0px auto;
    }
    .search-form-wrapper .wrap {
        width: 240px;
        margin: 0;
    }
    #searchform {
        position: absolute;
        top: 50px;
        left: 70%;
        width: 240px;
    }
    #searchform button {
        width: 20px;
    }
    .search-form-wrapper #searchform input {
        border: solid 1px #CCC !important;
        height: 24px;
    }
}

@media (min-width: 700px) and (max-width:980px) {
    #searchform {
        position: absolute;
        top: 100px;
        left: 31%;
        width: 50%;
    }
}

.fa-search {
    color: #008AB4;
}


/* Secondary Nav */

.secondary-nav-wrapper {
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    background: #F8f8f8;
    margin: 0;
}

.secondary-nav-wrapper .wrap {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

.secondary-nav-wrapper .secondary ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

.secondary-nav-wrapper .secondary ul li {
    display: inline;
    float: none;
}

.secondary-nav-wrapper .secondary ul li a {
    display: inline-block;
}

nav.secondary .nav {
    width: 100%;
    margin: 0px auto;
}

#secondary-nav-wrapper .secondary ul li a:hover {
    color: #48c0cb;
    background: transparent;
    text-shadow: none;
    text-decoration: none;
}

#menu-item-128998 a {
    color: #48c0cb;
}

@media (min-width:767px) and (max-width:1024px) {
    .secondary-nav-wrapper .secondary ul li a {
        font-size: 80%;
    }
}

.primary-nav-wrapper .primary ul li.current_page_item a, .secondary-nav-wrapper .secondary ul li.current_page_item a {
    color: #008AB4;
    border-bottom: solid 2px #008AB4;
}


/* Social Media */

.header .utility-nav-wrapper .wrap {
    width: 23%;
    margin-left: 0;
    position: absolute;
    top: 49px;
}

.header .top-nav .fa {
    font-size: 20px;
    color: #008AB4;
}

.header .top-nav .fa:hover {
    opacity: .6;
}

@media (min-width:974px) and (max-width:1000px) {
    .header .top-nav {
        top: 54px;
        left: 19%;
    }
}

@media (max-width:973px) {
    .header .top-nav {
        display: none;
    }
}


/*--- Fixes to keep elements in proper ratio during collapse ---*/

@media (min-width:800px) {
    .title-area {
        width: 20%;
    }
    header.header .widget-area {
        width: 80%;
    }
}

@media (max-width:799px) {
    .title-area {
        width: 100%;
    }
    .title-area .site-title {
        width: 200px;
        margin: 0px auto;
        border: 1px solid red;
    }
}

header.header ul.nav li#menu-item-98311 a {
    text-transform: none;
    color: #EC708C;
    font-size: 150%;
	text-decoration: none;
}

header.header ul.nav li#menu-item-98311 a:before {
    font-family: FontAwesome;
    content: "\f08a ";
    margin-right: 4px;
}

header.header ul.nav li#menu-item-98311 a:hover:before {
    content: "\f004";
}

header.header ul.nav li#menu-item-98311 a:hover {
    opacity: .8;
}


/*--- Body ---*/

a, a:visited {
    color: #008AB4;
}

body {
    color: #000;
}


/*Magazine Module*/

.magazine-module {
    display: block;
    min-height: 230px;
}

.magazine-module .mag-left {
    float: left;
    width: 40%;
}

.magazine-module .mag-right {
    float: left;
    width: 55%;
    margin-left: 5%;
    font-size: .96em;
}

.magazine-module .mag-right ul {
    margin: 0px;
    padding: 0px;
}


/*Content Lists*/

h2, .h2 {
    font-size: 1.0em;
    line-height: 1em;
    color: #3f4954;
    margin-top: 0px;
    padding: 10px 0px;
    text-transform: uppercase;
    border-top: solid 2px #E4EAED;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: .5px;
}

.content-list-wrapper .h3.entry-title a, .h3.entry-title a {
    color: #000;
    font-size: 1.2em;
    font-family: 'Droid Serif', serif;
    font-weight: 700;
    line-height: 1.3em;
    display: table;
}

.content-list-wrapper .h3.entry-title a:hover, .h3.entry-title a:hover {
    color: #008AB4;
}

.grid-item h3, .grid-item h3 a {
    text-transform: none;
}

.content-list-wrapper .read-more {
    display: none;
}

.content-list-wrapper p {
    font-size: 1em;
    display: table;
}

.content-list-wrapper .categories-list a {
    color: #008AB4;
}

@media (min-width:480px) {
    .fullwidth-mobile-images .thumb-wrap {
        width: 30% !important;
    }
}

.hentry.post, .hentry.video, .hentry.gtx_gallery {
    border-bottom: solid 1px #CCC;
    padding-bottom: 0;
}

.wpb_text_column.wpb_content_element.list-title-link {
    margin: 0;
}

h2.content-list-link a {
    font-size: 1.0em;
    line-height: 1em;
    color: #3f4954;
    margin-top: 0px;
    padding: 10px 0px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    letter-spacing: .5px;
    margin-bottom: 0.375em;
}


/*Ads*/

.dfp.leaderboard .gtx-dfp-ad-inner-wrapper {
    margin: 0 auto;
}

@media (min-width:980px) {
    .mobile-only-ad {
        display: none;
    }
}


/*Grids*/

.grid-item, .grid-item.hentry.post, .grid-item.hentry {
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 0px;
}

.grid-item .h3.entry-title a {
    font-size: 105%;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
}

.grid-item .post-thumb {
    opacity: 1;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.grid-item .post-thumb:hover {
    opacity: .85;
}

.categories-list:before {
    padding-left: 5px;
    content: "[ ";
    color: #008AB4;
}

.categories-list:after {
    padding-left: 5px;
    content: "]";
    color: #008AB4;
}


/*Top Story Area*/

.homepage-top-grid .grid-item .h3.entry-title a {
    font-size: 22px;
}

.entry-content p:last-child {
    margin: 0 0 1.5em;
}

.content-list-wrapper.homepage-top-grid {
    margin-top: 30px;
}

.content-list-wrapper.homepage-top-grid .grid-item {
    border-bottom: none;
    text-align: center;
}


/*List Marker Correction*/

ol, ul {
    list-style-type: initial;
    margin-left: 20px;
}

.article .basic-content-wrap.cf ul {
    list-style-type: initial;
    list-style-position: inside;
}

.article .basic-content-wrap.cf .gtx-gallery-slider ul {
    list-style-type: none;
}

.article ol li {
    list-style-type: decimal;
    margin-left: 20px;
}


/*Article Body*/

.customtemplatewrapper #inner-content {
    background: #fff;
}

.customtemplatewrapper #main {
    margin-top: -5px;
}

.single.single-post #main h1.entry-title {
    font-family: 'Droid Serif', serif;
    font-weight: 700;
    line-height: 1em;
    margin-bottom: 16px;
}


/* Footer */

.footer {
    background-color: #008AB4!important;
    color: #fff;
    margin-top: 0;
    padding-top: 15px;
    text-align: center;
}

#inner-footer.wrap {
    text-align: center;
}

.footer .bucket {
    width: 100%;
    overflow: hidden;
    margin: 5px 0px;
    color: #fff;
}

.footer .bucket .widget {
    margin: 5px;
}

.footer .bucket ul {
    padding-top: 5px
}

.footer .bucket li {
    display: inline;
    padding: 0 5px;
}

.footer .bucket li a {
    color: #fff;
    font-size: 16px;
}

.footer .fa {
    font-size: 22px;
}

.footer .bucket li a:hover {
    text-decoration: underline;
}

.footer .bucket .menu-social-media-container li:after {
    content: ' ';
}

.footer .bucket .menu-social-media-container li {
    padding-right: 15px;
}

.footer .bucket h4 {
    color: #fff;
    border-bottom: none;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 0;
    text-transform: uppercase;
}


/* Submit event form */

input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], select, textarea, .field {
    border: solid .1em #ccc;
}

@media (min-width:981px) and (max-width:1190px) {
    .primary-nav-wrapper .primary ul li a {
        font-size: 94%;
    }
}


/* Fixes h2 search and horizontal field box on geobase */

.filterlist-vertical h2 {
    font-size: inherit;
    font-weight: bold;
    line-height: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-container-multi .select2-choices .select2-search-field input {
    margin: 0;
}
