/* REMOVES THE "OUT OF THE BOX GANTRY STYLES" */
body {background:#ffffff; overflow:scroll;}
#rt-top-surround, #rt-drawer, #rt-maintop, #rt-showcase, .rt-showcase-pattern, #rt-footer {background-color:transparent; background:none no-repeat transparent; box-shadow:none; border-bottom:none; border-top:none; text-shadow:none;}
#rt-top-surround:after {background:none no-repeat #ffffff;}
#rt-header {text-shadow:none;}
ul.menu li a:before, ul.menu li .item:before, ul.menu li .separator:before {content:none;}
ul.menu li.active.current > a:before, ul.menu li.active.current > .item:before, ul.menu li.active.current > .separator:before, ul.menu li#current.active > a:before, ul.menu li#current.active > .item:before, ul.menu li#current.active > .separator:before {content:none;}

/*  SITE-WIDE STYLES */
h1, h2, h2 a, h3, h4, h4 a {color:#384047; font-family:"arial rounded mt bold", arial, helvetica, sans-serif;}
h1, h1 a, h2, h2 a {font-size:25px; line-height:33px;}
h3, h4, h3 a, h4 a {font-size:19px; line-height:27px;}
p {font-family:"helvetica neue", helvetica, arial, sans-serif;}
.button:hover, .readon:hover, .readmore:hover, button.validate:hover, #member-profile a:hover, #member-registration a:hover, .formelm-buttons button:hover, .btn-primary:hover {background-image:none; background-color:transparent !important;}
a.readmore, p.readmore, p.readmore a {text-align:center; color:#384047; border:none; background-color:transparent; background-image:none; text-shadow:none; box-shadow:none;}
a.readmore:hover, p.readmore a:hover {color:#42b4d6 !important; background-color:transparent !important;} 
body, p {color:#4b4f51;}
p {letter-spacing:0.25px;}
a {color:#384047;}
a:hover {color:#42B4D6;}

/*  SITE LOGO   */
#rt-top .custom.top-site-logo p a img {width:250px; height:98px;}

/*  ADD-THIS SHARE BUTTONS FROM THE PLUGIN- NOT THE FOLLOW BUTTONS */
.joomla_add_this {margin-top:1em; margin-bottom:2em;}

/*  BODY CLASS HOME PAGE BACKGROUND STYLES */
body.menu-home {background-color:#f7f7f7;}
body.menu-home .rt-showcase-pattern, body.menu-home #rt-extension {background-color:#ffffff;}

/* HOMEPAGE IMAGE - TOP */
#rt-top-surround {background-image: url('../images/custom/home-page-image-1.jpg'); background-size:cover; background-repeat:no-repeat; background-position:top center;}
#rt-top-surround:after {background-color:transparent;}

/*  HOMEPAGE SECONDARY IMAGE LOWER ON PAGE */
.menu-home #rt-mainbottom {background-image: url('../images/custom/home-page-image-2.jpg'); background-size:cover; background-repeat:no-repeat; background-position:top center;}
.menu-home #rt-mainbottom .second-image-home-page p {color: #ffffff; float: right; padding: 14em 0 0 0; line-height:14px;}

/*  SOCIAL FOLLOW ICONS TOP OF PAGE  */
.addthis_button_youtube_follow.at300b {display:none;}
.joomla_addthis_follow .addthis_toolbox.addthis_32x32_style.addthis_default_style {float:right; min-width:108px; margin-top:-15px;}

/*  MEGA-MENU MAIN SITE MENU  */
#rt-header {z-index: 0 !important;}
#rt-top #js-mainnav.megamenu.horizontal.right ul.level0 {padding-right: 14px;}
#rt-top #js-mainnav.megamenu.blackwhite {border:none; background-color:transparent; background-image:none; box-shadow:none;}
#rt-top #js-mainnav.megamenu.blackwhite ul.level0 li.mega a.mega {border-left:none; box-shadow:none; color:#ffffff; font-weight:normal; letter-spacing:;}
#rt-top #js-mainnav.megamenu.blackwhite ul.level0 li.mega .childcontent a.mega {letter-spacing:;}
#rt-top #js-mainnav.megamenu.blackwhite .childcontent-inner {text-shadow:none;}
#rt-top #js-mainnav.megamenu.blackwhite ul.level1 li.mega a.mega {color:#384047;}
#rt-top #js-mainnav.megamenu.blackwhite ul.level0 li.active {background-color:transparent !important; background:none; box-shadow:none;}
#rt-top #js-mainnav.megamenu.blackwhite ul.level0 li.mega a.mega:hover {color:#282828; background-color: #efefef !important;}
#rt-top #js-mainnav.megamenu.blackwhite .childcontent-inner {background: -moz-linear-gradient(center top , #F9F9F9, #FEFEFE) repeat scroll 0 0 rgba(255, 255, 255, 0.3);}
#rt-top #js-mainnav.megamenu .js-megamenu {font-family: "arial rounded mt bold", Helvetica, Arial, sans-serif;}
#rt-top #js-mainnav.megamenu.blackwhite .group-title .menu-title {font-weight:normal; text-shadow:none;}
#rt-top #js-mainnav.megamenu .group-title .menu-title {font-weight:normal;}
#rt-top #js-mainnav.megamenu.blackwhite ul.level0 li.mega a.mega.over {color: #666666 !important; background-color:#f9f9f9;}
#rt-top #js-mainnav.megamenu.blackwhite #mod-finder-searchform label.finder.smart-search-module {display:none;}
#rt-top #js-mainnav.megamenu.blackwhite .group-title .menu-title, #rt-top #js-mainnav.megamenu.blackwhite ul.level1 li.mega a.mega {color:#384047;}
    /*  hides mobile menu on desktop  */
#rt-top .mobile-menu {display:none;}
#rt-top .menu-title {text-align: left;}

/*  SITE QUOTE OVER HEADER IMAGE ON HOME PAGE  */
.custom.home-page-description {color: #ffffff; font-family: "arial rounded mt bold", arial,helvetica, sans-serif; font-size: 1.7em;}
.custom.home-page-description p {max-width:586px; line-height:1.4em; padding:6% 0 14% 15%; letter-spacing:1px; color: #ffffff; font-family: "arial rounded mt bold", arial,helvetica, sans-serif;}

/*  NEWSLETTER SIGNUP MODULE ON HOMEPAGE IN RT-SHOWCASE-PATTERN DIV */
#rt-drawer {background-color:#f7f7f7;}
.rt-block.showcase-newsletter-signup {margin-top: 0px; padding-top: 0px;}
.acymailing_introtext, .acymailing_form {float:left;}
.acymailing_introtext {max-width:285px; font-family:"arial rounded mt bold", "helvetica neue", arial, sans-serif; text-align: right; padding-right: 3em; padding-bottom: 1em; padding-left:2em; color: #282828; font-size: 1.2em; line-height:1.35em;}
.acymailing_module_form .acyfield_name .inputbox:hover, .acymailing_module_form .acyfield_name .inputbox, .acymailing_module_form .inputbox:hover, .acymailing_module_form .inputbox, .acysubbuttons input.subbutton {background-image:none !important; background-color:#ffffff !important;}
.button.subbutton.btn.btn-primary {background-image:none !important; background-color:#ffffff !important; text-shadow:none !important; box-shadow:none !important;}
.acymailing_module_form .inputbox {padding-right:20px !important;}
.acysubbuttons input.subbutton {background-image:none; margin-bottom:2px; margin-top:0px;}
#rt-drawer .acysubbuttons input.button {padding-left:15px; padding-right:16px; height:31px; border:1px solid #384047; color:#4b4f51;}
#rt-drawer .acymailing_fulldiv tr {vertical-align:bottom;}
#rt-drawer .acymailing_form input.inputbox {border: 1px solid #384047 !important;}

/*  NEWSFLASH - HOW TO USE WRITING COMMONS ARTICLE ON HOME PAGE  */
#rt-showcase {color:inherit;}
#rt-showcase a:hover {color:#42B4D6;}
.rt-block.how-to-use-wc {margin-top: 1em;}
.newsflash-title.how-to-use-wc {clear: both;}
h2.newsflash-title.how-to-use-wc:nth-child(6n+1) {border-top:14px solid #76d691; padding-top:7px;}
h2.newsflash-title.how-to-use-wc:nth-child(6n+2) {border-top:14px solid #42b4d6; padding-top:7px;}
h2.newsflash-title.how-to-use-wc:nth-child(6n+3) {border-top:14px solid #e15258; padding-top:7px;}
h2.newsflash-title.how-to-use-wc:nth-child(6n+4) {border-top:14px solid #53bbb4; padding-top:7px;}
h2.newsflash-title.how-to-use-wc:nth-child(6n+5) {border-top:14px solid #f9845b; padding-top:7px;}
h2.newsflash-title.how-to-use-wc:nth-child(6n+6) {border-top:14px solid #9d8ac7; padding-top:7px;}
#rt-showcase .newsflash-title.how-to-use-wc a:hover {color:#384047 !important;}

.newsflash.how-to-use-wc .rt-block .module-surround .module-title .title, .item-page .rt-block .module-surround .module-title .title {display: none;}
.rp-buttons-wrapper .btn-primary {border:none; border-radius:0px; background-color:#42B4D6; text-shadow:none; background-image:none !important;}
.rp-buttons-wrapper .btn-primary:hover {border:none; border-radius:0px; background-color:#2570A8 !important; text-shadow:none; background-image:none !important;}

.menu-home #rt-showcase .newsflash.how-to-use-wc .rt-block {padding-top:0px; padding-bottom:0px;}

/*  Google adsense styles in sidebar-a on all pages but homepage   */
.rt-block.google-adsense {margin-top:4em; margin-bottom:4em;}

/*  ACCORDEON MENU STYLES FOR SIDEBAR-A OPENT TEXT  */
#rt-sidebar-a ul#accordeonck146 li ul li {list-style: none; margin:0px;}
#rt-sidebar-a ul#accordeonck146 li a {color:#384047; padding-left:20px;}
#rt-sidebar-a ul#accordeonck146 {border:none; box-shadow:none; -webkit-box-shadow:none; background:transparent !important;}
#rt-sidebar-a h2.title {font-size: 18px !important; text-shadow: none !important;}
#rt-sidebar-a .toggler.toggler_1, #rt-sidebar-a .toggler.toggler_2, #rt-sidebar-a .toggler.toggler_3 {margin-top:7px;}

/*  EASY BLOG STYLES FOR BLOG PAGES ONLY - SOME OUTPUT STYLES .COMPONENT-CONTENT */
#ezblog-body .blog-post:nth-child(6n+1) {border-top:14px solid #76d691;}
#ezblog-body .blog-post:nth-child(6n+2) {border-top:14px solid #42b4d6;}
#ezblog-body .blog-post:nth-child(6n+3) {border-top:14px solid #e15258;}
#ezblog-body .blog-post:nth-child(6n+4) {border-top:14px solid #53bbb4;}
#ezblog-body .blog-post:nth-child(6n+5) {border-top:14px solid #f9845b;}
#ezblog-body .blog-post:nth-child(6n+6) {border-top:14px solid #9d8ac7;}

/*  RT-EXTENSION STYLES  */
.menu-home #rt-extension .rt-container {padding-top:2em;}
#rt-extension .rt-alpha .rt-block {border-top:14px solid #76d691;}
#rt-extension .rt-omega .rt-block {border-top:14px solid #e15258;}

/*  COMMUNITY POLL STYLES - HOME PAGE AND OTHER POLL PAGES */
.rp-poll-wrapper h4.page-title {display:none;}

/*  MOST POPULAR ARTICLES MODULE - RT-EXTENSION  */
#rt-extension .title {text-shadow:none; border-bottom:none; -webkit-box-shadow:none; -moz-box-shadow:none;}
#rt-extension .mostread.most-popular {list-style:none;}
#rt-extension .mostread.most-popular li {line-height:26px;}
#rt-extension .mostread.most-popular a {font-size:18px;}

/*  FOOTER STYLES SITE-WIDE!! */
#rt-footer .custom.footer-ad {background-color:#76D691; margin-top:10px; padding:14px;}
#rt-footer .custom.footer-ad p {text-align:center; color:#ffffff; font-family:"arial rounded mt bold", arial,helvetica, sans-serif; font-size:19px; line-height:26px;}
#rt-footer .custom.footer-ad p a {text-shadow:none; text-align:center; color:#ffffff; font-family:"arial rounded mt bold", arial,helvetica, sans-serif; font-size:19px; line-height:26px;}
#rt-footer .custom.footer-ad p a:hover {color:#F9845B; text-shadow:none;}
#rt-footer {background-color:#2d3339;}
#rt-footer h2.title {margin-bottom:0px; font-size:20px; color:#ffffff; text-shadow:none; border-bottom:none; box-shadow:none;}
#rt-footer .nav.menu li {line-height:14px; margin-bottom:6px;}
#rt-footer a {color:#8c989e; font-weight:normal; font-size:13px;}
#rt-footer a:hover {color:#8c989e; background-color:transparent;}

/*  COPYRIGHT STYLES SITE-WIDE!! */
#rt-copyright {background-color:#2d3339; border-top:none; -webkit-box-shadow:none; box-shadow:none;}
#rt-copyright p {text-align:center; font-size:12px; color:#8c989e; line-height:18px;}
#rt-copyright a {color:#8c989e; text-decoration:underline;}
#rt-copyright .rt-block {padding-bottom:5px; margin-bottom:5px;}

/*  ARCHIVED NEWSLETTER MODULE ON NEWSLETTER MENU LINK PAGE  */
ul.latestnews.newsletter-archive-mod { margin-left:0px;}
li.latestnews.newsletter-archive-mod {list-style: none; line-height: 26px;}
li.latestnews.newsletter-archive-mod a {font-weight: normal; font-family:"helvetica neue", helvetica, arial, sans-serif;}

/*  COMMUNITY POLLS STYLES  */
#rt-showcase .rp-sbar-chart {width:50%;}
#rt-extension .rp-sbar-chart {width:100%;}
.rp-poll-wrapper .poll-status-closed {border:none !important; font-weight:normal !important;}

/*  search module - not the smart search  */
#rt-top #js-mainnav.megamenu ul.megamenu.level0 input#mod-search-searchword {max-width:150px;}

/* breadcrumbs */
#rt-main #rt-content-top .rt-block {padding-bottom:0px; margin-bottom:0px;}
.breadcrumb {background-color:transparent; margin-bottom:0px; font-size:12px; padding-left:0px;}

/* hides google ads on newsletter archives */
.option-com-acymailing #rt-sidebar-a .google-adsense {display:none;}

/*  COMPONENT-CONTENT STYLES FOR HOME PAGE ONLY!!!!!  */
.menu-home .component-content .items-row.cols-2.row-0 .item.column-1 {border-top:14px solid #42b4d6;}
.menu-home .component-content .items-row.cols-2.row-0 .item.column-2 {border-top:14px solid #E15258;}
.menu-home .component-content .items-row.cols-2.row-1 .item.column-1 {border-top:14px solid #F9845B;}
.menu-home .component-content .items-row.cols-2.row-1 .item.column-2 {border-top:14px solid #53BBB4;}

/*  COMPONENT-CONTENT STYLES */
.component-content h1 {margin-bottom:21px; color:#384047;}
.component-content h2, .component-content h2 a {font-size:25px; color:#384047; text-shadow:none; border-bottom:none; box-shadow:none;}
.component-content .item-page p img {margin:0 21px 14px 0}
.component-content .item-page {max-width:840px;}
/*.component-content iframe {margin: 14px 0 7px 14px;}*/
.component-content .item ul li, .component-content .item-page ul li {line-height:1.7em;}
.component-content .blog .items-row .item ul li {line-height:1.7em;}
/* styles captions in the mainbody component-content area */
.component-content .wf_caption span {font-size:13px; text-align:center; line-height:16px; padding:0 7px 14px 7px;}
/*  allows long url's to wrap with other text for smaller screens  */
.component-content .url-text-break, .url-text-break {word-wrap:break-word;}

/*  hides the mobile version and location of "follow writing commons" addthis buttons */
#rt-drawer div.joomla_addthis_follow {display:none;}

/* -------------  Styles the menu "toggle" button   ------------*/
div.gf-menu-toggle {border-radius:0px; border:1px solid #ffffff; background-color:  rgba(255, 255, 255, 0.8); background-image:none; box-shadow:none; -webkit-box-shadow:none;}
div.gf-menu-toggle.active {border:1px solid #ffffff; background-color:  rgba(255, 255, 255, 0.8); background-image:none; box-shadow:none; -webkit-box-shadow:none;}
div.gf-menu-toggle span.icon-bar {background-color:#2d3339;}
div.gf-menu-device-container-wrapper .gf-menu li a {color:#ffffff; text-shadow:none; font-family:"helvetica neue", helvetica, arial, sans-serif;}
body.layout-mode-responsive .gf-menu ul, body.layout-mode-responsive .gf-menu ol, body.layout-mode-responsive .gf-menu li .columns-1 > .col1 > ul > li:last-child, body.layout-mode-responsive .gf-menu-device-wrapper-sidemenu, body.layout-mode-responsive .gf-menu, body.layout-mode-responsive .gf-menu > li:last-child {-webkit-box-shadow:none; box-shadow:none; background-color:#2d3339 !important;}
body.layout-mode-responsive ul.gf-menu {border-top:15px solid #2d3339;}


/* -----   < 1400px viewport  ----- */
@media (max-width:1400px) {
    #js-mainnav div.childcontent.cols7[style] {margin-left:-200px !important;}
}

/* -----   < 1200px viewport  ----- */
@media (max-width:1200px) {
    #js-mainnav div.childcontent.cols7[style] {margin-left:-300px !important;}
}

/* -----   < 1200px viewport  ----- */
@media (max-width:1199px) {
    #rt-showcase .rp-sbar-chart {width:100%;}
}

/* -----   < 1100px viewport  ----- */
@media (max-width:1100px) {
    #js-mainnav div.childcontent.cols7[style] {margin-left:-200px !important;}
}

/* -----   < 960px viewport  ----- */
@media (max-width:959px) {
    #rt-top .custom.top-site-logo p a img {width:180px; height:70px;}
    #rt-top .rt-container .rt-grid-8.rt-omega .rt-block {padding-left:0px; padding-right:0px; margin-left:0px; margin-right:0px;}
    #rt-footer .custom.footer-ad p a {font-size:15px; line-height:19px;}
    #js-mainnav div.childcontent.cols7[style] {max-width:692px !important;}
    #js-mainnav div.childcontent-inner.clearfix[style] {max-width:690px !important;}
}

/* -----   < 768px viewport  ----- */
@media (max-width:767px) {
    #rt-top #js-mainnav.megamenu.blackwhite .megaMenuToggle {border-left:none;}
    #rt-top #js-mainnav.megamenu.blackwhite .megaMenuToggle {border-left: none; float: right;}
    #rt-top #js-mainnav.megamenu #js-megaMenuToggle .megaMenuToggle-icon {float:none; margin-bottom:-1px; margin-left:7px;}
    #rt-header .custom.home-page-description p {font-size:20px; line-height:1.3em; padding:1% 0% 10% 0%; }    
        /* switches from megamenu to roknavmenu for mobile and tablets */
    #rt-top .custom-jse-megamenu {display:none;}
    #rt-top .mobile-menu {display:inline;}
        /* hides the followthis links in the top for mobile viewing */
    #rt-top .rt-grid-8.rt-omega .module-content {display:none;}
        /* center aligns the main site logo and removes top padding and margin */
    #rt-top .custom.top-site-logo p {text-align: center;}
    #rt-top .rt-block.top-site-logo {padding:0px;}
    
    h1, h2, h2 a, .component-content h2, .component-content h2 a, h2.title {font-size:22px; line-height:27px;}
    h1 {text-align: center;}
    #rt-drawer div.joomla_addthis_follow {display:inline;}
}

/* -----   < 480px viewport  ----- */
@media (max-width:480px) {
        /* all newsletter signup module styles */
    #rt-drawer .acymailing_form {margin-left:auto; margin-right:auto; margin-top:1em;}
    #rt-drawer .acymailing_introtext, #rt-drawer .acymailing_form {float:none;}
    #rt-drawer .acymailing_introtext {padding-right:0px; padding-left:0px; padding-bottom:0px; text-align:center; font-size:16px;}
    #rt-drawer .acyfield_name {display:block;}
    #rt-drawer .acyfield_email {display:block;}
    #rt-drawer .acysubbuttons {display:block;}
    #rt-drawer .rt-block.showcase-newsletter-signup {margin-top:2em;}
    #rt-drawer form {margin-bottom:0px;}
    
    h1, h2, h2 a, .component-content h2, .component-content h2 a, h2.title {font-size:20px; line-height:25px;}
    h1 {text-align: center;}
    /* removes padding and margin from breadcrumbs on mobile */
    #rt-main #rt-content-top .rt-block {padding-top:7px; margin-top:0px;}
}

/* -----   < 320px viewport  ----- */
@media (max-width:320px) {
        /* makes logo smaller for screen */
    #rt-top .custom.top-site-logo p a img {width:130px; height:51px;}
    #rt-header .rt-block.home-page-description {padding:0px;}
    #rt-header .custom.home-page-description p {padding:0% 0% 9% 0%; font-size:14px;}
    h1, h2, h2 a, .component-content h2, .component-content h2 a, h2.title, #eblog-wrapper #ezblog-head h1, #ezblog-body .blog-post .blog-title, #ezblog-body .blog-post .blog-title a {font-size:19px; line-height:24px;}
    h1 {text-align: center;}
    .menu-home #rt-mainbottom .second-image-home-page p {padding:8em 0 0 0;}
    .foxcontainer .control-group input[type="text"], .foxcontainer .chzn-single.chzn-default.chzn-single-with-drop, .foxcontainer .chzn-drop, .foxcontainer textarea, .foxcontainer .chzn-single.chzn-default {max-width:70%;}    
}