
.sr-search-form input.search-field {
    width: 100%;
    border: 2px solid #000;
    max-width: 300px;
}

.sr-search-form input.search-submit {
    background: #000;
    margin-left: -5px;
    border: #000 !important;
    top: 0px !important;
    position: relative;
}
form.sr-search-form {
    width: 95%;
    max-width: 430px;
    display: block;
    margin: 0 auto 50px;
}
/* HOVER EFFECT FOR THE MENU */

#main-menu li a::after {
    position: absolute;
    top: 102%;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 50px;
    height: 1px;
    background: #fff;
    content: '';
    opacity: 0;
    -webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
    transition: height 0.3s, opacity 0.3s, transform 0.3s;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    transform: translateY(-10px);
}
#main-menu li a:hover::after, #main-menu li a:focus::after {
    height: 3px;
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
}
#menu-item-132 a:hover::after, #menu-item-135 a:hover::after {display: none !important;}


.single-d4issues a.button.download-button {
    display: block;
    width: 120px;
    text-align: center;
    margin: 30px auto;
    border: 2px solid #fff !important;
}


.woocommerce-MyAccount-content a#subscribe {
    background: #000;
    color: #fff;
    padding: 13px 25px;
    border-radius: 0px;
    margin-bottom: 10px;
}
.woocommerce-MyAccount-content a#renew {
    border-radius: 0;
    background: unset;
    padding: 13px 25px;
    width: 303px;
    text-align: center;
}
.section-my-account main#main-content {padding: 50px 0;}

.section-shop a.button.alignright {
    background: transparent;
    border: 2px solid #000 !important;
    border-radius: 0;
    margin-right: 5px;
}


/* ADDED A SUBSCRIPTION RENEWAL BUTTON TO THE CHECKOUT PAGE */
a#renew, #page-75 #main-content a#renew {
    margin-bottom: 50px;
    position: relative;
    clear: both;
    color: #000;
    border: 2px solid #000 !important;
    font-size: unset;
    margin-right: 30px;
    padding: 5px 15px;
    transition: all ease-in-out 0.25s;
    -moz-transition: all ease-in-out 0.25s;
    -webkit-transition: all ease-in-out 0.25s;
}
a#renew:hover, #page-75 #main-content a#renew:hover {
    text-decoration: none;
    background: #000;
    color: #fff;
}
/* ADDED A NOTICE TO THE 2020 Calendar - Requested by Carrie on 09.11.19 */

/*#page-73 .post-7432 .woocommerce-loop-product__title {
    position: relative;
}
#page-73 .post-7432 .woocommerce-loop-product__title::after {
    position: absolute;
    content: "Ships November 2019";
    left: 0;
    right: 0;
    margin: 0 auto;
    font-style: italic;
    font-size: 14px;
    bottom: -15px;
}

#page-7432 #content .cart {
    position: relative;
    display: block;
    width: 100%;
    height: 50px;
    }
#page-7432 #content .cart::after {
    position: absolute;
    content: "Ships November 2019";
    left: 0;
    right: 0;
    margin: 0 auto;
    font-style: italic;
    font-size: 15px;
    bottom: -25px;
    font-weight: 600;
}*/
/*SORT ISSUES BY YEAR - Added by S. Kendziorski 05.17.2019*/

#filter {
    display: block;
    text-align: right;
    margin-bottom: 20px;
}

#filter select, #filter button {outline: none; border: 2px solid #fff !important;}
#filter select {
    width: 150px;
    height: 36px;
    color: #fff;
}
#filter select option {color: #000;}
/*Custom 404 Page*/
.error404 #content form.search-form {
    display: block;
    float: left;
    width: 50%;
}
.error404 #content form .search-submit {
    border:1px solid #000 !important;
    color: #000;
    outline: none;
    margin-left: 10px;
}
.error404 #content form .search-field {
    border:1px solid #000 !important;
    color: #000;
    outline: none;
}
.error404 #content form .search-field::placeholder {color: #ddd; font-style: italic;}
.single-d4articles #content a:link, .single-d4articles #content a, .single-d4articles #content a:visited {color: #2880de !important; }
#content a:link:hover, #content a:hover, #content a:visited:hover {text-decoration: underline;}
.single-d4articles #content h1, .single-d4articles  #content h2, .single-d4articles #content h3, .single-d4articles  #content h4, .single-d4articles #content  h5 {
    clear: none;
}

.blog article.one_fourth {width: 100% !important;}
.blog .post-thumb {float: left;}
.blog .post-thumb img {
    border: 10px solid rgba(255, 255, 255, 0.1);
    float: left;
    margin: 0 20px 10px 0;
    max-height: unset !important;
    width: unset !important;
}
.blog article .aligncenter {float: right; width: 75%;}
.blog article .aligncenter .post-title,
.blog article .aligncenter .post-snippet,
.blog article .aligncenter .post-meta{
    display: block;
    margin: 0 auto;
    width: 100%;
    float: right;
}
@media (max-width: 640px){
.blog .post-thumb {display: none;}
.blog article .aligncenter {float: none; width: 100%;}
}
/* CHANGES 12/20/2018 */
.issue .issue-intro .p1 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.3em !important;
    margin-top: 30px;
    margin-bottom: 10px;
}
.issue .issue-intro .p1, .issue .issue-intro .p2 {
    padding:0px 20px !important;
    font-size: 15px;
    text-align: justify !important;
}

/* CHANGES 12/17/2018*/
#welcome a.button {
font: 14px/1.75em "Lato", sans-serif;
margin: 30px 10px 0;
}


@media (max-width: 1000px){
.issue .issue-masthead .section-title {padding: 230px 7% 20px;}
.issue {margin-top: -231px;}
#welcome {
    padding-top: 30px !important;
    width: 80% !important;
    position: relative !important;
    font-size: 2.3em;
    line-height: 1.2;
    margin: 0 auto;
    }
}

@media (max-width: 640px){
.issue .issue-masthead .section-title {padding: 304px 7% 20px;}
.issue {margin-top: -369px;}
#welcome {
    width: 90% !important;
    position: relative !important;
    }

  #welcome a.button:last-of-type {
    margin-bottom: 80px;
  }
}

@media (max-width: 480px){
.issue .issue-masthead .section-title {padding: 304px 7% 20px;}
.issue {margin-top: -369px;}
#welcome {
    width: 90% !important;
    position: relative !important;
    padding-top: 10px;
    font-size: 2em !important;
    }
    #welcome a.button:last-of-type {
        margin: 10px 0 80px;
    }
}


/* CHANGES 12/13/2018 */
#welcome {
    position: absolute;
    text-align: center;
    padding-top: 130px;
    z-index: 2;
    color: #fff;
    width: 100%;
    font-size: 2.5em;
    font-family: 'Playfair Display', serif;
}
#welcome a {
    color: #fff;
}
#welcome a:hover {
    text-shadow: 0 0 10px black;
    }
.issue .issue-masthead {
    background-size: cover;
    padding-top: 270px;
    position: relative;
    margin-bottom: -9%;
}

#subscribe .component-title h2 {
    font-size: 2.8em !important;
    padding: 6% 4% 30px !important;
}
#subscribe .subscribe-benefits h4 {width: 80%; line-height: 1.4;}

#homepage-only {display: none;} /* HIDE Read More Button on all pages except HOME */
#page-4 #homepage-only {
    display: block;
    width: 135px;
    margin: 0 auto;
}

/* CHANGES 10/16/2018 */

.xoo-qv-main {
    padding: 40px !important;
}


/* CHANGES 10/11/2018 */
/* Updated the styles applied to the footer menu to better separate the links */
#footer-content #footer-nav li {
    float: none !important;
    width: unset !important;
}
#footer-nav {
    column-count: 3 !important;
    height: 200px;
}
#social-links {
    margin-top:15px;
}
#social-links a img {
    width: 25px;
}
#social-links a {
    margin: 0 7px;
}

/* CHANGES 09/20/2018 */

/*@media all and (max-width: 1560px) {
    #header .page-wrapper {padding: 50px !important;}
}*/
@media all and (max-width: 1275px) {
    #main-menu li a {padding: 3px 7px !important;}
}
@media all and (max-width: 1000px) {
    #header .page-wrapper {padding: 0 !important;}
}

.xoo-qv-button {
    margin: auto;
    width: 100%;
    text-align: center;
    padding-right: 30px;
    background: #2e2f8ea1;
    background: red;
    color: white;
    border-radius: 3px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}
.xoo-qv-summary h1 {
    color: black;
    padding-top: 20px;
}
.xoo-qv-summary .woocommerce-product-details__short-description {
    color: black;
    text-align: left;
}
.xoo-qv-summary .product_meta {display: none}
.xoo-qv-plink {
    width: 100%;
    background-color: #2e2f8e;
}
.xoo-qv-summary .price {
    padding-top: 20px;
    font-size: 32px;
}
@media all and (max-width: 1000px){
    .issue-masthead .issue-cover {border: none !important;}
    .issue .issue-toc {padding-top: 216px;}
    .subpage-masthead .single-d4articles .page-title, h1.page-title {padding: 40px 0 50px !important;}
    #section-articles .one_half .post-thumb {width: 100% !important;}
    #section-articles .one_half h3.getpost-title, #section-articles .one_half .getpost-textwrap {width: 100% !important;}
    .wp-caption {width: 100% !important;}
    .blog .post-thumb img {width: 100%;}
    .issue .article-cover {border: none;}
    #previous-issues .line-w-dot:nth-child(-n+3) {display: none;}
    .issue-grid .getpost-d4issues {margin-top: -120px;}
    .home #main-content > .section, .home #main-content > #footer, .home #main-content > #subpage-masthead, .home .post-type_d4issues:not(.single-d4issues) #main-content > #main-wrapper, .post-type_d4issues:not(.single-d4issues) .home #main-content > #main-wrapper {margin-top: 19px;}
    #recent-articles .getpost-textwrap {width: 100% !important;}
    #recent-articles .getpost-innerwrap {border: none;}
    #recent-articles .get-all {
        left: 30px;
        text-align: center;
    }
    #newsletter-subscribe .gform_wrapper {width: 90%;}
    #footer h2 {position: unset;}
    #footer-content #footer-nav li {
        width: 100%;
        float: inherit;
    }
    #footer {margin: 0 5px 0 5px !important;}
}


/* CHANGES 09/07/2018 */

.blog #content .post-content {
    padding-top: 20px !important;
    padding-bottom: 0px;
    margin-bottom: 0px !important;
}
.blog #content .post-snippet {
    padding-top: 10px;
}

#page-75 .one_half {
    width: 45%;
    margin: 10px;
    height: 558px;
    margin-top: 40px;
    border: 1px solid #d4d4d4;
}
#sub1 {padding-top: 109px !important;}
#sub1, #sub2 {background: whitesmoke; padding-top: 40px; margin-bottom: 50px !important;}
#page-75 #main-content .button-wrap {
    display: inline-block;
    background: black;
    width: 100%;
    text-align: center;
}
#page-75 #main-content .button {
    border: none !important;
    font-size: 20px;
    padding: 7px;
}
#sub-boxes {
    width: 1480px;
    margin: auto;
}
@media all and (max-width: 1000px){
    #page-75 .one_half {width: 100%; margin: 0;}
    #page-75 #sub2 {width: 100%;}
    .issue .issue-masthead {padding-top: 0px;}
}
#sub4 {
    width: 100%;
    margin: auto;
    background: whitesmoke;
}
@media all and (max-width: 1485px){
    #page-75 .one_half {
        width: 100%;
        margin: auto;
        height: auto !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
    }
    #sub2 {
        width: 100% !important;
        height: auto;
        padding: 0;
    }
    #sub1, #sub3 {margin-top: 0;}
    #sub1 {padding-top: 0 !important}
    #sub-boxes {
        width: auto;
        max-width: 980px;
        margin: auto;
    }
}
#footer {margin: 0 12px 12px 12px;}

/* CHANGES 07/26/2018*/

#page-6021 #main-content .one_fourth {width: 100%; padding-top:0;}

#page-4 #recent-articles {
    padding: 50px 0 120px;
}

#page-4 #recent-articles .get-all {
    margin-top:60px;
}

 #section-articles {
    background-color: #120929;
    margin:12px;
 }

 #section-articles .get-all {display: none;}

 #section-articles .one_half {
    padding:20px 40px;
    margin: 10px 0;
 }

 #section-articles .one_half .post-thumb {
    width: 250px;
    float: left;
    max-height: 250px;
 }

#section-articles .one_half .post-thumb img {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 250px, 0% 250px);
        clip-path: polygon(0 0, 100% 0, 100% 250px, 0% 250px);
     }

 #section-articles .one_half h3.getpost-title,#section-articles .one_half .getpost-textwrap {
    line-height: 2;
    padding-left: 26px;
    width: 66.6%;
    float: left;
    padding-left: 20px;
 }

/* CHANGES 07/24/2018 */

.issue .article-cover img {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 339px, 0 339px);
    clip-path: polygon(0 0, 100% 0, 100% 339px, 0 339px);
    border: 0;
}
.issue .article-cover {
    max-height: 380px;
}

/* CHANGES 07/23/2018 */

.woocommerce h2, .woocommerce h3 {
    margin-bottom: 1.5rem !important;
}

/* CHANGES 07/18/2018 */

.issue .article-title {
    font-weight: 400;
}
.issue .issue-masthead {
    background-image: url(/wp-content/themes/dtca-nv-magazine/img/backgrounds/issues-bg.jpg) !important;
}
#page-4 .issue-masthead {
    background-image: url(/wp-content/themes/dtca-nv-magazine/img/backgrounds/nvm-bg1.jpg) !important;
}
#subpage-masthead {
    background-image: url(/wp-content/themes/dtca-nv-magazine/img/backgrounds/article-bg.jpg) !important;
    margin:12px;
}
.single-d4articles h5 {
    background: #efefef;
    padding: 0;
    margin: 30px auto 10px;
    font-size: 17px;
}

/* woo */

.woocommerce .woocommerce-result-count {
    display: none;
}
#content .woocommerce-loop-product__title {
    color: #2e2f8e;
    font-size: 25px;
    text-align: center;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    border: 5px solid #ccc;
    padding: 20px;
}
.woocommerce ul.products li.product a img {
    height: 160px;
    margin: auto;
    width: auto;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    width: 29.5%;
    height: 440px;
    float: left;
    clear: none;
}
.woocommerce ul.products li.last, .woocommerce-page ul.products li.last {
    margin:0 3.8% 2.992em 0;
}
.woocommerce ul.products li.product .price {
    color: #77a464;
    display: block;
    font-weight: 400;
    margin-bottom: .5em;
    font-size: 21px;
    text-align: center;
}
.woocommerce ul.products li.product .button, .woocommerce #payment #place_order, .woocommerce-page #payment #place_order {
    margin: auto;
    width: 100%;
    text-align: center;
    background: #2e2f8e;
    color: white;
}
.woocommerce .woocommerce-ordering {
    display: none;
}
.woocommerce .products ul, .woocommerce ul.products {
    margin: 43px 0 0 0;
}
.woocommerce div.product .woocommerce-tabs .panel h2:nth-child(1) {
    display: none;
}
.page-meta, .post-meta {
    display: none;
}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
    background-color: #2e2f8e;
}
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
    background-color: #2e2f8e;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
    font-size: 1.7em;
}
.woocommerce table.shop_table {
    border: 5px solid #ccc;
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
    border-radius: 0;
    border-collapse: separate;
}
.woocommerce table.shop_table td {
    border-top: 1px solid #ccc;
    padding: 6px 12px;
}


/* CHANGES 07/16/2018 */

/*removed the double border on the issues page*/
.post-type_d4issues:not(.single-d4issues) .post-thumb {
    border:unset;
}

/*Reduced thickness of the border on all buttons*/
button, a.button, .button, html input[type="button"], input[type="reset"], input[type="submit"] {
    border: 1px solid #fff !important;
}

a.download-button {
        padding: 0.2em 0.8em;
    }

.single-d4articles .page-title, h1.page-title {
    padding: 150px 0 50px;
    font-family: 'Playfair Display', serif;
    font-weight: normal;
}

#main-menu li a {
    padding: 3px 25px;
}

.page-template-template_fullwidth #content .page-title {
    font-family: 'Playfair Display', serif;
    font-weight: normal;
}

.single-d4articles .masthead-issue {margin-bottom: 20px;}

/*.subpage .page-wrapper .line-w-dot, .subpage .page-wrapper .line-w-dot:before, .subpage .page-wrapper .line-w-dot:after {
    height: 0px;
    background: #28252f;
    bottom: 1px;
}

.subpage #recent-articles .getpost-innerwrap {
    border: unset;
}

.subpage #recent-articles .sentinel {
    display: none;
}*/


#recent-articles .post-thumb {
    border: unset;
}

/*Removes the scroll second bar on the right*/
#content {
    overflow-x: unset;
}

.post-type-archive-d4issues #main-content article .aligncenter {
    text-align: center;
}

@media all and (max-width: 1300px) {
    .post-type-archive-d4issues #main-content article {
    padding-bottom: 50%;
    }
}
@media all and (max-width: 1000px){
    .post-type-archive-d4issues #main-content article.one_fourth {
        width: 50%;
        padding-bottom: 80%;
    }
}

@media all and (max-width: 630px) {
    .post-type-archive-d4issues #main-content article.one_fourth {
    padding-bottom: 100%;
    }
}

@media (max-width: 480px){
    .post-type-archive-d4issues #main-content article.one_fourth {
        width: 100%;
        clear: both;
        float: none;
        margin: 0 auto;
        padding-bottom: 155%;
    }
}

/* CHANGES 7/13/18 */


#footer-content #footer-nav li {
    font-size: 1em;
}
#footer-copyright img {
    width: 210px;
}
.issue .issue-intro {
    padding: 0;
    text-align: center;
}
.single-d4articles #main-content img {
    border: none;
}
.wp-caption {
    border: none;
    background: none;
    padding: 10px;
    margin: 10px;
    font-size: 12px;
}
.wp-caption.aligncenter {
    margin: auto;
}


/*******************/

.issue-title {
    text-align: center;
    margin-bottom: 10px;
}

.post-type_d4issues:not(.single-d4issues) article {
    padding-bottom: 32%;
    height: 0;
    overflow: hidden;
}
article.post-content .post-thumb img {
    max-height: 506px;
    height: auto;
    width: 100%;
    object-fit: cover;
}
/*#page-83 #recent-articles, #page-85 #recent-articles, #page-84 #recent-articles, #page-98 #recent-articles, #page-82 #recent-articles, #page-88 #recent-articles, #page-90 #recent-articles, #page-89 #recent-articles, #page-5531 #recent-articles, #page-92 #recent-articles, #page-78 #recent-articles, #page-87 #recent-articles, #page-86 #recent-articles, #page-5533 #recent-articles {
    background-color: #120929;
 }*/

 .post-navigation .post-next svg, .post-navigation .post-prev svg {
    color:#fff;
 }
 .search-form {
    float: right;
 }
 .search-box {
    margin-bottom: 1em;
 }
 .search-box label span {
    padding-right: 1em;
 }
 .search-result a h3  {
    color: #404040;
 }
 .search-result a {
    color: black;
 }
#header .search-form .search-field {
    margin: 0px;
    padding: 7.5px 30px;
    outline: none;
    border: 1px solid #fff;
    color: white;
 }
::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder,
:-moz-placeholder {
    color: white;
 }
 #header .search-form .search-submit {
    margin: 0px;
 }
 #menu-item-7418 a, .search-form {
    display: none;
 }
 #header .search-form {
    margin-bottom: 1em;
 }
 #menu-item-7418 {
    margin-right: 1em;
    color: white;
    padding-top: 6px;
    cursor: pointer;
 }
 .navigation.pagination h2 {
    display: none;
 }
 .navigation.pagination .nav-links {
    font-size: 20px;
 }

 /*Issues Page*/
.post-type_d4issues #main-wrapper a.button {margin-bottom: 10px; margin-left: 2%;}

 .post-type_d4issues:not(.single-d4issues) article {padding-bottom: 40%;}

 /*Post Issue Date*/
 h4.getpost-issue {
    line-height: 2;
    padding-left: 26px;
    width: 66.6%;
    float: left;
    padding-left: 20px;
}
@media all and (max-width: 1300px) {
    body.post-type-archive-d4issues #main-content h3.issue-title {
        height: 48px;
    }
}
@media all and (max-width: 1000px) {
    #d4slidemenu .icon-search:before {
        display: none;
    }
}

