/*----- Web Fonts ------*/

@font-face {
    font-family: 'robotomedium';
    src: url('../fonts/roboto-medium-webfont.eot');
    src: url('../fonts/roboto-medium-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-medium-webfont.woff2') format('woff2'), url('../fonts/roboto-medium-webfont.woff') format('woff'), url('../fonts/roboto-medium-webfont.ttf') format('truetype'), url('../fonts/roboto-medium-webfont.svg#robotomedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotoregular';
    src: url('../fonts/roboto-regular-webfont.eot');
    src: url('../fonts/roboto-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-regular-webfont.woff2') format('woff2'), url('../fonts/roboto-regular-webfont.woff') format('woff'), url('../fonts/roboto-regular-webfont.ttf') format('truetype'), url('../fonts/roboto-regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'georgia';
    src: url('../fonts/georgia.eot');
    src: url('../fonts/georgia.eot') format('embedded-opentype'), url('../fonts/georgia.woff2') format('woff2'), url('../fonts/georgia.woff') format('woff'), url('../fonts/georgia.ttf') format('truetype'), url('../fonts/georgia.svg#georgia') format('svg');
}


/* ---- Generelized css rules  ---- */

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'robotomedium';
}

.container {
    width: 100%;
    padding: 0;
}

.row {
    margin: 0;
    padding: 0;
}

.p-none {
    padding: 0 !important;
}

.p-t-none {
    padding-top: 0 !important;
}

.p-b-none {
    padding-bottom: 0 !important;
}

.p-r-none {
    padding-right: 0 !important;
}

.p-l-none {
    padding-left: 0 !important;
}

.m-none {
    margin: 0 !important;
}

.m-t-none {
    margin-top: 0 !important;
}

.m-b-none {
    margin-bottom: 0 !important;
}

.m-r-none {
    margin-right: 0 !important;
}

.m-l-none {
    margin-left: 0 !important;
}

.f-bold {
    font-weight: bold;
}


/*---- Header CSS ----*/

.header {
    width: 100%;
    height: 108px;
    background-image: url("../images/header-bg.png");
    background-repeat: no-repeat;
}

.logo-wrap {
    padding: 10px 0px;
}

.search-wrap {
    display: inline-block;
    position: relative;
    float: right;
    padding: 0;
    margin-top: 50px;
}

.search-wrap input[type="text"] {
    font-size: 20px;
    font-family: 'robotoregular';
    display: inline-block;
    font-weight: 100;
    border: none;
    outline: none;
    color: #555;
    padding: 3px 45px 3px 3px;
    width: 0px;
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    z-index: 3;
    transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
    cursor: pointer;
}

.search-wrap input[type="text"]:focus:hover {
    border-bottom: 1px solid #BBB;
}

.search-wrap input[type="text"]:focus {
    width: 400px;
    z-index: 1;
    border-bottom: 1px solid #BBB;
    cursor: text;
}

.search-wrap input[type="submit"] {
    height: 36px;
    width: 38px;
    display: inline-block;
    float: right;
    background: #ffa801 url('../images/search-icon.png') center center no-repeat;
    text-indent: -10000px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    cursor: pointer;
    transition: opacity .4s ease;
}

.search-wrap input[type="submit"]:hover {
    opacity: 0.8;
}


/*----  Custom Navbar CSS ----*/

.custom-navbar {
    background-color: #fff;
    border: none;
    font-family: 'robotomedium';
}

.custom-navbar .navbar-nav li a {
    text-transform: uppercase;
    color: #4f4f4f;
    font-size: 18px;
}

.custom-navbar .custom-left-nav .active a,
.custom-navbar .custom-left-nav .active a:hover {
    background: none;
    color: #ffa801;
    text-decoration: underline;
}

.custom-left-nav li {
    position: relative;
    padding-right: 60px;
}

.custom-left-nav li:after {
    content: " ";
    height: 7px;
    width: 7px;
    border-radius: 50%;
    position: absolute;
    background-color: #7bb72b;
    padding-left: 7px;
    top: 22px;
    right: 22px;
    display: block;
}

.custom-left-nav li:last-child:after {
    height: 0;
    width: 0;
}

.custom-left-nav li:hover a {
    color: #ffa801 !important;
    text-decoration: underline;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.contact-btn {
    background-color: #ffa801 !important;
    border: 1px solid #FFA801 !important;
    color: #fff !important;
    text-transform: capitalize !important;
    padding: 8px 15px !important;
}

.contact-btn:hover,
.contact-btn:focus {
    color: #FFA801 !important;
    background-color: #FFF;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.custom-navbar .navbar-toggle {
    background-color: #ffa801;
    border-color: #ffa801;
    border-radius: 0;
    margin-top: 0;
}

.custom-navbar .navbar-toggle:hover,
.custom-navbar .navbar-toggle:focus {
    background-color: #ffa801;
}

.custom-navbar .navbar-toggle .icon-bar {
    background-color: #fff;
}


/*------ Generelized Form CSS ------*/

.form-group label {
    font-weight: 100;
}

.form-group {
    margin-bottom: 10px;
}

.form-control,
.custom-modal .modal-content,
.input-group-addon {
    border-radius: 0px;
}

.input-group-addon {
    background-color: #fff;
    color: #ffa801;
}


/*----Home Page Content CSS ----*/

.page-container {
    background-color: #f2f2f2;
    padding: 30px 0;
}

.video-wrapper {
    background-color: #fff;
    border: 1px solid #c1c1c1;
    padding: 15px 0;
    margin-bottom: 30px;
}

.video-title {
    font-size: 26px;
    color: #ffa801;
    text-transform: uppercase;
}

.video-sub-title {
    color: #4f4f4f;
    text-transform: uppercase;
    margin: 15px 0;
}

.video-info {
    font-family: 'georgia';
    letter-spacing: 0.1px;
    line-height: 26px;
    font-size: 16px;
    color: #4f4f4f;
    display: block;
    display: -webkit-box;
    width: 100%;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    /* required for Opera */
    -ms-text-overflow: ellipsis;
    /* required for IE8, allegedly */
    /*-moz-binding: url('ellipsis.xml#ellipsis');
    /* required for firefox */
}

.caption-wrapper {
    padding-left: 0;
}

.carousel-caption {
    position: relative;
    text-align: left;
    left: 0%;
    right: 0%;
    bottom: 0px;
    z-index: 10;
    padding-top: 0px;
    padding-bottom: 0px;
    color: #000;
    text-shadow: none;
    & .btn {
        text-shadow: none; // No shadow for button elements in carousel-caption
    }
}

.carousel {
    position: relative;
}

.controllers {
    position: absolute;
    top: 0px;
}

.carousel-control.left,
.carousel-control.right {
    background-image: none;
}

.custom-video-carousel {
    position: relative;
}

.custom-controls {
    position: absolute;
    right: 11%;
    bottom: 45px;
}

#carousel-example-generic .custom-controls {
    position: absolute;
    right: 11%;
    bottom: 8px;
}

.custom-controls .left {
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #afafaf;
    text-decoration: none;
    margin-right: 10px;
    padding: 14px 15px 9px 15px;
}

.custom-controls .right {
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #afafaf;
    text-decoration: none;
    margin-right: 10px;
    padding: 14px 17px 9px 17px;
}

.custom-controls .left:hover,
.custom-controls .right:hover,
.custom-controls .left:focus,
.custom-controls .right:focus,
.custom-controls a:hover,
.custom-controls a:focus {
    text-decoration: none;
}

.custom-controls .left span,
.custom-controls .right span {
    color: #6F6F6F;
    font-size: 24px;
    line-height: 24px;
    font-weight: 600px;
}

.slide-icon {
    margin: 0 5px;
}

.col-sm-slider {
    padding: 0 8px;
}

.iframe-wrapper {
    width: 100%;
    height: auto;
    margin: 0 auto;
    background: #CCC;
}

.h_iframe {
    position: relative;
}

.h_iframe .ratio {
    display: block;
    width: 100%;
    height: auto;
}

.h_iframe video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100%;
    min-height: 340px;
}

.other-video-link a {
    position: absolute;
    bottom: 0px;
    right: 15px;
    font-size: 16px;
}

.other-video-link a,
.other-video-link a:hover,
.other-video-link a:focus {
    color: #7BB72B;
    text-decoration: underline;
}

.subscription-title,
.most-read-books-title,
.writers-corner-title {
    background-color: #7bb72b;
    color: #fff;
    padding: 10px 15px;
    margin: 0;
    font-size: 20px;
}

.subscription-title span {
    padding-right: 8px;
}

.subscription-form-wrapper {
    background-color: #fff;
    border: 1px solid #c1c1c1;
    padding: 15px 15px 30px 15px;
    position: relative;
}

.subscription-form-wrapper:before {
    border-image: none;
    border-style: none solid solid;
    border-width: medium 1px 1px;
    background: #fff none repeat scroll 0 0;
    bottom: -10px;
    content: "";
    height: 30px;
    left: 1px;
    overflow: visible;
    position: absolute;
    transform: skewY(3deg);
    width: 100%;
    z-index: 0;
    border-left: none;
    border-color: #afafaf;
}

.subscription-form-title {
    margin: 15px 0 25px 0;
    font-size: 16px;
    color: #4f4f4f;
}

.input-group-email {
    background-color: #F7F7F7;
}

.input-email,
.email-addon {
    border-color: #afafaf;
    border-radius: 0px;
}

.input-email {
    border-right: none;
    height: 42px;
    background-color: #F7F7F7;
}

.input-email::-webkit-input-placeholder {
    font-style: oblique;
    background-color: #F7F7F7;
}

.input-email:-moz-placeholder {
    /* Firefox 18- */
    font-style: oblique;
    background-color: #F7F7F7;
}

.input-email::-moz-placeholder {
    /* Firefox 19+ */
    font-style: oblique;
    background-color: #F7F7F7;
}

.input-email:-ms-input-placeholder {
    font-style: oblique;
    background-color: #F7F7F7;
}

.email-addon {
    background-color: #F7F7F7;
    font-size: 26px;
}

.email-addon span i {
    border-left: 1px solid #afafaf;
    padding-left: 12px;
}

.orange-btn-lg {
    background-color: #ffa801;
    color: #fff;
    border-radius: 0px;
    font-size: 18px;
    width: 100%;
    text-transform: uppercase;
    margin-top: 15px;
}

.orange-btn-lg:hover,
.orange-btn-lg:focus {
    color: #FFA801;
    background-color: #fff;
    border: 1px solid #FFA801;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.advertisement-wrapper {
    padding: 45px 0 30px 0;
}

.most-read-books-container {
    background-color: #fff;
    border: 1px solid #afafaf;
    padding: 15px 15px 0 0;
    position: relative;
    margin-bottom: 45px;
}

.most-read-books-container .img-wrapper {
    position: relative;
    padding-bottom: 15px;
}

.most-read-books-container .odd {
    padding-right: 0;
}

.most-read-books-container .img-wrapper img {
    /*width: 100%;
    max-width: 150px;*/
    height: 140px;
}

.most-read-books-container .img-wrapper .book-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 15px;
    left: 0px;
    width: 100%;
    color: #fff;
    padding: 5px 10px;
    font-size: 15px;
    height: 70px;
}

.most-read-books-container .img-wrapper .book-overlay p {
    margin: 0px;
}

.writers-corner-wrapper .writers-message-wrapper {
    background-color: #fff;
    border: 1px solid #afafaf;
    padding: 15px 15px 35px 15px;
    float: left;
    position: relative;
    margin-bottom: 45px;
    width: 100%;
}

.writers-corner-wrapper .writers-message-wrapper .writers-message {
    border: 1px solid #afafaf;
    padding: 15px;
    float: left;
    font-family: 'robotoregular';
    margin-bottom: 35px;
    position: relative;
    width: 100%;
}

.writers-corner-wrapper .writers-message-wrapper .writers-message p {
    font-style: oblique;
    color: #464646;
    float: left;
    letter-spacing: 0.3px;
    line-height: 28px;
    min-height: 120px;
}

.writers-corner-wrapper .writers-message-wrapper .writers-message a {
    float: right;
    margin: 5px 0;
    font-size: 16px;
    text-decoration: underline;
    color: #353535;
}

.writer-details {
    float: left;
    width: 100%;
}

.writer-details img {
    border: 1px solid #979797;
    border-radius: 50%;
    height: 52px;
    width: 52px;
    float: left;
}

.writer-details .writer-name {
    float: left;
    padding: 5px 10px;
}

.writer-details .writer-name h4 {
    text-transform: uppercase;
    color: #4f4f4f;
    margin: 0;
}

.writer-details .writer-name p {
    color: #ffa801;
    margin: 0;
}

.most-read-books-container:before,
.writers-message-wrapper:before {
    border-image: none;
    border-style: none solid solid;
    border-width: medium 1px 1px;
    background: #fff none repeat scroll 0 0;
    bottom: -10px;
    content: "";
    height: 40px;
    left: 1px;
    overflow: visible;
    position: absolute;
    transform: skewY(3deg);
    width: 100%;
    z-index: 0;
    border-left: none;
    border-color: #afafaf;
}

.writers-message-wrapper:before {
    height: 35px;
    bottom: -14px;
}

.product-wrapper {
    background-color: #fff;
    border: 1px solid #c1c1c1;
    padding: 15px 0;
    margin-bottom: 30px;
}

.product-details {
    color: #4f4f4f;
}

.product-details .product-title {
    font-size: 26px;
    margin: 5px 0;
    font-weight: 600;
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.product-details .product-info {
    font-family: 'georgia';
    font-size: 16px;
    font-weight: 100;
    letter-spacing: 0.1px;
    line-height: 26px;
}

.btn-bordered {
    background-color: #fff;
    color: #ffa801;
    border: 1px solid #ffa801;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 10px;
    padding: 8px 20px;
}

.btn-bordered:hover,
.btn-bordered:focus {
    color: #fff;
    background-color: #FFA801;
    border: 1px solid #FFA801;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.link-wrapper {
    padding: 0 0 15px 0;
}

.view-all-products {
    color: #7bb72b;
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 16px;
}

.view-all-products span {
    text-decoration: none;
}

.view-all-products:hover,
.view-all-products:focus {
    color: #7bb72b;
}

.advertisement-full {
    padding: 0;
    margin: 10px 0;
}

.sliders-row {
    padding: 15px 0;
}

.slider-wrapper {
    background-color: #fff;
    border: 1px solid #afafaf;
    border-top: none;
    color: #636363;
}

.slider-title {
    padding: 15px;
    font-size: 22px;
    background-color: #fff;
    border: 1px solid #afafaf;
    border-bottom: 1px dashed #636363;
    border-top: 5px solid #7bb72b;
    color: #636363;
}

.slider-title span {
    font-size: 16px;
    float: right;
}

.slider-content p {
    padding: 10px 15px;
    font-family: 'georgia';
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.1px;
    margin: 0;
}

.slider-content img {
    height: 180px;
    width: 100%;
}

.slider-content .more-info {
    margin-top: 35px;
    min-height: 105px;
}

.custom-products-slider,
.custom-writers-msg-slider {
    position: relative;
}

.custom-products-slider .custom-controls,
.custom-writers-msg-slider .custom-controls {
    width: 100%;
    left: 0;
    bottom: 32%;
    text-align: center;
}

.custom-writers-msg-slider .custom-controls {
    bottom: 10px;
}

.ad-banner-full {
    position: relative;
    padding: 0;
}

.ad-banner-full img {
    padding: 0 15px;
}

.ad-banner-full .ad-title {
    position: absolute;
    color: #fff;
    font-size: 35px;
    width: 100%;
    top: 15%;
}


/*---- footer CSS ----*/

.footer {
    font-family: 'robotoregular';
    background-color: #5d5d5d;
    padding: 15px;
    color: #fff;
    float: left;
    width: 100%;
}

.footer p {
    float: left;
    line-height: 40px;
    margin: 0;
}

.footer .icons-wrap {
    float: right;
}

.footer .icons-wrap img {
    margin-right: 10px;
}


/*------ Send Message Modal CSS ------*/

.custom-modal .modal-header {
    background-color: #7BB72B;
    color: #fff;
}

.custom-modal .modal-title span {
    padding-right: 10px;
}

.custom-modal .modal-body {
    background-color: #fff;
}

.custom-modal .orange-btn-lg {
    width: 50%;
}

.custom-modal .close,
.custom-modal .close:hover,
.custom-modal .close:focus {
    color: #fff;
}

.custom-modal .close {
    opacity: 0.65;
    height: 30px;
    width: 30px;
}

.custom-modal .close:hover,
.custom-modal .close:focus {
    opacity: 0.90;
}


/*---- Article-Details page CSS ----*/

.related-articles-title h4 {
    text-transform: uppercase;
    text-decoration: underline;
    color: #FFA801;
    margin: 30px 0 15px;
}

.article-title h3 {
    color: #4f4f4f;
    font-size: 26px;
    font-weight: 600;
}

.article-title p {
    color: #FFA801;
}

.article-details-text p {
    font-family: 'georgia';
    letter-spacing: 0.1px;
    line-height: 26px;
    font-size: 16px;
    text-align: justify;
}

.article-carousel-wrapper {
    border: 1px solid #afafaf;
    border-top: 3px solid #7BB72B;
}

#article-photos-carousel {
    position: relative;
}

#article-photos-carousel .custom-controls {
    position: absolute;
    bottom: -11px;
    right: 0;
    width: 100%;
    text-align: center;
}

#article-photos-carousel .slider-content {
    float: left;
    width: 100%;
}

#article-photos-carousel .slide-count {
    width: 100%;
}

#article-photos-carousel .slide-count p {
    color: #4f4f4f;
    float: right;
    font-family: 'robotomedium';
}

.article-author-details {
    padding: 15px 0;
}

.article-author-message {
    margin: 15px 0;
    padding: 0 !important;
    border: none !important;
}

.article-author-message a {
    color: #7bb72b !important;
    float: left !important;
}

.photos-link-wrapper {
    margin-top: 15px;
}

.social-media-icons-wrapper {
    text-align: right;
    padding: 0 0 10px 0;
    margin-top: 30px;
}

.social-media-icons-wrapper a {
    /*border: 1px solid #7bb72b;
*/
    font-size: 14px;
    color: #7bb72b;
    padding: 5px 10px;
    margin-left: 5px;
    /*border-radius: 50%;*/
}

.social-media-icons-wrapper a:focus,
.social-media-icons-wrapper a:hover {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
    color: #7bb72b;
}

#fbicon:hover {
    color: #3b5998;
    /*width: 20px;
    border-color: #3b5998;*/
}

#twticon:hover {
    color: #55acee;
    /*width: 20px;
    border-color: #55acee;*/
}

#gplusicon:hover {
    color: #dd4b39;
    /*width: 20px;
border-color: #dd4b39;
*/
}

.plain-link,
.plain-link:hover,
.plain-link:active {
    color: #4F4F4F;
    text-decoration: none;
}


/*--------------------------------------------------*/


/*-----------------Media Queries--------------------*/


/*--------------------------------------------------*/


/* Large desktop */

@media (min-width: 1600px) {
    .subscription-form-wrapper:before {
        bottom: -14px;
    }
    .most-read-books-container:before,
    .writers-message-wrapper:before {
        bottom: -13px;
    }
    .slider-content img {
        margin: 0 auto;
    }
    .most-read-books-container .img-wrapper img {
        max-width: 100%;
    }
}

@media (max-width: 1200px) {
    .video-title {
        font-size: 22px;
    }
    .video-sub-title {
        font-size: 16px;
        margin-bottom: 5px;
    }
}

@media (max-width: 1024px) {
    .custom-writers-msg-slider .custom-controls {
        bottom: 20px;
    }
    .custom-products-slider .custom-controls {
        bottom: 44%;
    }
    .subscription-form-wrapper::before {
        bottom: -7px;
    }
}

@media (max-width: 991px) {
    .most-read-books-container::before,
    .writers-message-wrapper::before,
    .subscription-form-wrapper::before {
        transform: skewY(1deg);
        height: 17px;
    }
    .most-read-books-container::before,
    .writers-message-wrapper::before {
        bottom: -8px;
    }
}

@media (max-width: 980px) {
    .custom-left-nav li {
        padding-right: 35px;
    }
    .custom-navbar .navbar-nav li a {
        font-size: 17px;
    }
    .search-wrap {
        margin-right: 65px;
        margin-top: 5px;
    }
    .most-read-books-container,
    .writers-message-wrapper,
    .subscription-form-wrapper {
        margin-bottom: 35px;
    }
    .most-read-books-container .img-wrapper .book-overlay {
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .search-wrap {
        margin-right: 0;
        margin-top: 52px;
    }
}


/* Portrait tablet to landscape and desktop */

@media (min-width: 768px) and (max-width: 1024px) {
    .custom-controls {
        right: 70px;
        bottom: 40px;
    }
    .custom-controls .left,
    .custom-controls .right {
        padding: 8px 11px 5px 11px;
    }
}

@media (max-width: 768px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,
    .navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in {
        display: block !important;
    }
    .custom-left-nav li:after {
        height: 0;
        width: 0;
    }
    .custom-left-nav,
    .custom-right-nav {
        margin-bottom: 0;
    }
    .custom-right-nav {
        margin-top: 0;
    }
    .contact-btn {
        color: #4f4f4f !important;
        text-transform: uppercase !important;
        background: none;
        border: none;
        font-size: 17px;
    }
    .contact-btn span {
        display: none;
    }
    .contact-btn:hover,
    .contact-btn:focus {
        text-decoration: underline !important;
    }
    .search-wrap input[type="submit"],
    .search-wrap input[type="text"] {
        height: 34px;
        right: 70px;
        top: 56px;
    }
    .slide-icon {
        max-width: 38px;
    }
    /*.custom-products-slider .custom-controls {
    bottom: 31%;
}
*/
}

@media (min-width: 768px) and (max-width: 979px) {
    .search-wrap {
        margin-right: 0;
        margin-top: 52px;
    }
    #Agronomy-carousel .custom-controls {
        bottom: 44% !important;
    }
    #Equipment-carousel .custom-controls {
        bottom: 44% !important;
    }
    #Fertilizer-part .custom-controls {
        bottom: 44% !important;
    }
    .advertisement-wrapper {
        padding-top: 0px !important;
    }
}


/* Landscape phone to portrait tablet */

@media (max-width: 767px) {

    .article-content-slider{
        float: left;
        width: 100%;
    }
    .advertisement-wrapper {
        padding: 0 0 30px;
    }
    .most-read-books-container .img-wrapper .book-overlay {
        height: 43px;
    }
    .custom-left-nav li:after {
        height: 0;
        width: 0;
    }
    .search-wrap input[type="submit"],
    .search-wrap input[type="text"] {
        top: 3px;
        right: -15px;
    }
    .search-wrap input[type="text"]:focus {
        width: 280px;
    }
    .col-xs-slider {
        padding: 15px 0 !important;
    }
    .ad-banner-full .ad-title {
        font-size: 18px;
    }
    .custom-left-nav,
    .custom-right-nav {
        margin-bottom: 0;
    }
    .custom-right-nav {
        margin-top: 0;
    }
    .contact-btn {
        color: #4f4f4f !important;
        text-transform: uppercase !important;
        background: none;
        border: none;
        font-size: 17px;
    }
    .contact-btn span {
        display: none;
    }
    .contact-btn:hover,
    .contact-btn:focus {
        text-decoration: underline !important;
    }
    .caption-wrapper {
        padding: 15px;
    }
    .custom-video-carousel .custom-controls {
        bottom: -33px;
        right: 42%;
    }
    .custom-products-slider .custom-controls {
        bottom: 7px;
    }
    .custom-products-slider .item {
        margin-bottom: 25px;
    }
    .slider-content .more-info,
    .video-info {
        margin: 15px 0;
    }
    .product-details .product-title {
        font-size: 20px;
        font-weight: 400;
    }
    .video-title {
        font-size: 20px;
    }
    .video-sub-title {
        font-size: 15px;
    }
    .article-xs-carousal {
        max-width: 380px;
        margin: 0 auto;
    }
    .slider-content img {
        /*min-width: 100%;*/
    }
    .read-more-wrapper {
        text-align: right;
    }
    .footer {
        height: 88px !important;
    }
}

@media (max-width: 560px) {
    #carousel-example-generic .carousel-inner {
        padding-bottom: 25px;
    }
    .other-video-link a {
        margin-bottom: 10px;
    }
    .custom-video-carousel .custom-controls {
        right: 38%;
    }
    .most-read-books-container::before,
    .writers-message-wrapper::before,
    .subscription-form-wrapper::before {
        bottom: -6px;
    }
}

@media (max-width: 640px) {
    .custom-video-carousel .custom-controls {
        right: 38% !important;
    }
}


/* Landscape phones and down */

@media (max-width: 480px) {
    .footer p {
        width: 100%;
        float: none;
        clear: both;
        margin: 0 auto;
        text-align: center;
    }
    .footer .icons-wrap {
        width: 100% !important;
    }
    .footer .icons-wrap img {
        height: 30px;
        width: 30px;
    }
    .book-xs-container {
        width: 33%;
    }
    .social-media-xs,
    .article-title-xs {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .social-media-icons-wrapper {
        text-align: center;
    }
    .custom-video-carousel .custom-controls {
        right: 36% !important;
    }
}

@media (max-width: 440px) {
    .search-xs-row {
        float: right;
        margin-top: 27px;
    }
    .custom-navbar .navbar-toggle {
        margin-top: 3px;
    }
    .custom-video-carousel .custom-controls {
        right: 34% !important;
    }
    .search-wrap input[type="text"] {
        font-size: 16px;
        padding-bottom: 10px;
    }
    .search-wrap input[type="text"]:focus {
        width: 260px;
    }
}

@media (max-width: 360px) {
    .custom-controls {
        right: 35%;
    }
    .custom-video-carousel .custom-controls {
        right: 32% !important;
    }
    .search-wrap input[type="text"] {
        padding-left: 25px;
    }
}

@media (max-width: 320px) {
    .most-read-books-container .img-wrapper .book-overlay {
        font-size: 13px;
    }
    .custom-video-carousel .custom-controls {
        right: 30% !important;
    }
    .search-wrap input[type="text"] {
        padding-left: 30px;
    }
}

.plain-link,
.plain-link:hover,
.plain-link:active {
    color: #4F4F4F;
    text-decoration: none;
}

.full-width {
    width: 100%;
    height: 240px !important;
}

.list-img-icon {
    max-height: 240px;
}

.custom-navbar .custom-right-nav li a:focus {
    outline: none;
    background: #FFA801 !important;
    color: #fff !important;
}

.contact-btn:hover,
.contact-btn:focus {
    background-color: #FFF !important;
}

/* for send message form textarea*/
#sendmessageform-message{
    resize: none; 
}
.article_height{
    height: 200px;
}
.modal-backdrop{
    z-index: 2 !important;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2 !important; 
    background-color: #000;
}

.article-content{
    font-family: "georgia";
    font-size: 16px;
    letter-spacing: 0.1px;
    line-height: 26px;
}
.article-content-slider{
    float: left;
    margin: 0 15px 15px 0;
}
.article-content-slider .view-all-products{
    font-family: 'robotomedium';
}
.article-content-slider .photos-link-wrapper{
    margin-top: 25px;
    padding: 0;
}