/*
Theme Name: Cornerstone Child
Theme URI: http://www.upstream.com;
Description: Child theme for Cornerstone theme
Author: Upstream Communications (Nicholas Tilley & Taha Mukaddam)
Template: cornerstone
Version: 0.1
*/


#_form_5AD615945EE88_ ._form-label, #_form_5AD615945EE88_ ._form_element ._form-label{
display:none!important;
float:left;
}

body #_form_5AD615945EE88_ {

margin: 0; 
padding: 0; 
background: none!important;
}


.pagination li{
display:inline-block!important;
}

.home #map1{
    display:none;
}

@media screen and (min-width: 40em){
h1 {
    font-size: 30px!important;
}
}

h1.page-title{
    font-weight:800!important;
}

#rev_slider_1_1_forcefullwidth{
    margin-top:-85px!important;
}

#maprow{
  background:url("/wp-content/themes/cornerstone/assets/images/header-default.jpg") top center;
  background-size: cover!important;
  background-repeat: no-repeat!important;
  padding:60px;
  color:#fff;
}

#statenews{
    text-align:center;
    padding-top:20px;
}

#statenews #newsrow {
    text-align: center;
    padding: 0!important;
}

.mapinfo{
    margin:20px 0;
}

.mappage #map{
    margin:0 auto;
}

.legend{
    margin-top:30px;
}

.legendimg{
    float: left;
    margin: 0 20px 20px 0;
}
.maptext{
    text-align:center;
    margin-top:10px;
}

.reveal{
    border:none!important;
    padding:0!important;
}

#govheader{
    background: url("https://www.rga.org/wp-content/uploads/2019/01/rga-slide-2019-1.jpg") top center;
}

#raceheader{
    background: url("/wp-content/themes/upstream/images/header-races.jpg") top center;
}

#aboutheader{
    background: url("https://www.rga.org/wp-content/uploads/2020/12/Ducey-RGA-1-1-1.jpg") top center;
}

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

body, p, h1, h2, h3, h4, h5, h6{
	font-family:"proxima-nova",Helvetica Neue,Helvetica,Roboto,Arial,sans-serif!important;
}

body h2{
	font-weight:300;
}

body h1, h2, h3, h4, h5, h6{
	line-height:1.2!important;
}

body .row a {
	color:#2e6298;
    font-weight:800;
}

body a:hover{
	color: #244b74;
}

strong{
    font-weight:800!important;
}

.twbutton{
    background-color: #598dca!important;
}



/* -------------- Navigation -------------- */

.top-bar-right {
    float: right;
    margin-top: 10px;
}

body .menu>li>a img {
    margin-right: .65rem;
}

.menu>li.logo>a {
    padding: 0 1rem;
}

.top-bar ul {
    background-color: transparent!important;
}

.menu a{
color:#fff;
text-transform:uppercase;
font-weight:700;
}

.menu a:hover{
color:#eee;
}

.menu .active>a {
    color: #fefefe;
    background: rgba(50, 50, 50, 0.25)!important;
}

.menu-item-14 a{
	background:#a70317!important;
}

.menu-item-11772 a{
    background:#3e3e3e!important;
}

.navicon{
background-repeat: no-repeat;
background-position: right;
text-indent: -9999px;
width:50px;
}

.navfb {
background-image: url('/wp-content/themes/upstream/images/navfb.png');
}

.navtw {
background-image: url('/wp-content/themes/upstream/images/navtw.png');
}

.navyt {
background-image: url('/wp-content/themes/upstream/images/navyt.png');
}

.navig {
background-image: url('/wp-content/themes/upstream/images/navig.png');
}


.top-bar-right{
    padding-right:20px;
}

/* -------------- Mobile Nav -------------- */

.logomobile{
	float:left;
	margin-left:10px;
}

.logomobile img{
	max-height:60px;
}

#mobilemenu{
	float:right;
}

#mobilemenu .menu>li {
    display: block;
}

#mobilemenu .navicon {
    display: inline-block!important;
    background-position: center;
    margin-top:10px;
}

.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(29,48,80);
    background-color: rgba(29,48,80, 0.9);
    overflow-y: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 10%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 0 8px;
    text-decoration: none;
    font-size: 30px;
    color: #FFF;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.closebtn {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 60px !important;
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .closebtn {
    font-size: 40px !important;
    top: 15px;
    right: 35px;
  }
}
/* -- iPhone 6 in landscape --*/
@media only screen and (min-device-width : 375px) and (max-device-width : 667px) and (orientation : landscape) {
    body #mobilemenu .menu>li {
        display: inline-block!important;
        margin-top:20px!important;
    }

    #mobilemenu .navicon {
    display: inline-block!important;
    background-position: right!important;
    margin-top: 0!important;
}

.tweet_text {
    font-size: 20px!important;
    }

}

/* -- iPhone 6 PLUS in landscape --*/
@media only screen and (min-device-width : 414px) and (max-device-width : 736px) and (orientation : landscape) {
    body #mobilemenu .menu>li {
        display: inline-block!important;
        margin-top:20px!important;
    }

    #mobilemenu .navicon {
    display: inline-block!important;
    background-position: right!important;
    margin-top: 0!important;
}

.tweet_text {
    font-size: 20px!important;
    }

}

/* -- iPhone 5/5s in landscape --*/
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) {
    body #mobilemenu .menu>li {
        display: inline-block!important;
        margin-top:20px!important;
    }

    #mobilemenu .navicon {
    display: inline-block!important;
    background-position: right!important;
    margin-top: 0!important;
}

.tweet_text {
    font-size: 20px!important;
    }

}

/* -- iPhone 2G-4s in landscape --*/
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) {
    body #mobilemenu .menu>li {
        display: inline-block!important;
        margin-top:20px!important;
    }

    #mobilemenu .navicon {
    display: inline-block!important;
    background-position: right!important;
    margin-top: 0!important;
}

.tweet_text {
    font-size: 20px!important;
    }

}


/* -------------- Page Headers -------------- */

@media screen and (max-width:40em) {
	.page-header{
		min-height: 200px!important;
        padding: 8rem 0 2rem!important;
	}
}

.page-header, .ls-wp-fullwidth-container{
	margin-top:-107px;
}

#newsheader{
  
}

#aboutheader{
  
}
/*
#govheader{
  background:url("/wp-content/themes/upstream/images/header-governors.jpg") top center;
}
*/

#post-15 .button{
    margin-right:20px;
}


/* -------------- Homepage -------------- */

.ls-l{
    white-space:normal!important;
}
.home .emailfooter{
	display:none;
}

#slidertext{
    margin-top: 19rem;
    color: #fff;
    margin-left:20px;
}

.top-bar, .title-bar{
    background-color: transparent!important;
    position: relative;
    z-index: 999;
}

@media screen and (max-width: 64em){
h2 {
    font-size: 2rem!important;
}
}

@media screen and (max-width: 40em){
h2 {
    font-size: 1.5rem!important;
}
}

/* -------------- Governors -------------- */
#governorbar .columns{
	padding:0;
	color:#fff;
}


.govlist .columns{
	padding:0;
	float:left!important;
}


/* -------------- News -------------- */

.post{
    margin-bottom:100px;
    padding-right: 30px;
}

.article-footer{
    margin-top:20px;
}

.tags-title{
    color:#444;
    font-weight:700;
    margin-right:10px;
}

.tags{
    color:#fff;
}

h1.entry-title{
    font-weight:700;
}

.pagination .current {
    background: #a70317!important;
}

#newsrow{
	text-align:center;
	padding: 40px;
}

#newsitems{
	margin-top:30px;
}

article {
    display:table!important;
    margin: 0 auto;
}

.homenews{
	margin-top:0!important;
}

.home .newspost {
    margin-bottom: 40px;
}

.entry-date{
	text-transform:uppercase;
	color:#444;
	font-size:14px;
}

.article-footer a{
    background: #2e6298;
    color: #fff!important;
    padding: 10px 15px;
    border-radius: 20px;
}

/* -------------- Footer -------------- */

#socialicons p{
    text-transform:uppercase;
    font-weight:500;
}

.playbutton{
    position: absolute;
    top: 40%;
    left: 38%;
}

#emailrow{
	background-color:#1d3050;
	color:#fff;
	padding:40px 0 10px 0;
}

#emailrow h4{
	text-align:right;
    margin-top:5px;
    font-weight:800;
}

#emailrow [type=email] {
	max-width:350px;
	display:inline-block!important;
    border:none!important;
        height: 43px;
}

@media screen and (max-width:64em) {

    #emailrow h4 {
        text-align: center!important;
        margin-bottom: 30px;
    }

    .emailform{
        text-align:center;
    }
}

@media screen and (max-width:40em) {
    #emailrow [type=email] {
        max-width: 260px;
    }
}

.wpcf7-submit{
	line-height:normal!important;
	margin:0!important;
}

.ajax-loader{
    display:none;
}

#socialfooter{
	background-color:#000;
	color:#fff;
}



#twitterfeed{
	text-align:center;
}

#twitterfeedtext {
    padding: 2.4rem;
}

#socialicons a{
	color:#fff;
}

#socialicons img{
	margin-bottom:10px;
}

#socialiconsfb .columns{
background-color:#a70317;
padding:30px 20px 10px;
}

#socialiconstw .columns{
background-color:#2e6298;
padding:30px 20px 10px;
}

figure.tweet_profile_img, .tweet_primary_meta{
    display:inline-block!important;
        -webkit-margin-before: 0!important;
    -webkit-margin-after: 0!important;
    -webkit-margin-start: 0!important;
    -webkit-margin-end: 0!important;
}

figure.tweet_profile_img img{
    float:left;
}

span.tweet_retweet{
    display:none;
}

.tweet_screen_name{
    display:block!important;
}

.tweet_intents{
    display:none!important;
}

.tweet_text{
    font-size:30px;
    margin: 15px 0;
    clear:both;
    padding-top:20px;
}

.tweets a{
    color:#ffffff!important;
    font-weight:900!important;
    font-size: 24px;
}

.tweet_primary_meta{
    font-size:18px;
    padding-left: 20px;
    text-align: left;
}

.tweet_secondary_meta{
    display:none;
}

@media screen and (min-width:40em) {
    #twitterfeedtext {
        padding: 3rem;
    }
}

@media screen and (min-width:60em) {
    #twitterfeedtext {
        padding: 5rem 3rem;
    }
}

@media screen and (min-width:80em) {
    #twitterfeedtext {
        padding: 7rem 3rem;
    }
}

@media screen and (min-width:100em) {
    #twitterfeedtext {
        padding: 8rem 3rem;
    }
}

#ourvideos{
	background:url("/wp-content/themes/upstream/images/videobkg.jpg") center center;
	background-size: cover;
    background-repeat: no-repeat;
	height: auto;
    min-height: 450px;
    padding:27% 0 0 0;
    position:relative;
}

#ourvideostext{
	padding:0 30px 20px 30px;
    position:absolute;
    bottom:20px;
    left:20px;
}

#twitterfeed{
	background-image:url("/wp-content/themes/upstream/images/twitterbkg.jpg");
}

#menu-footer-menu a{
    color:#bbb!important;
}

#menu-footer-menu a:hover{
    color:#fff!important;
}

@media screen and (max-width:40em) {
    p.copyright{
        float: none!important;
        text-align: center;
        margin-top:10px;
    }

    footer .menu>li {
        display: inline-block;
        text-align: center;
    }

    footer nav{
        text-align:center;
    }

    .post{
        padding-right: 0;
    }

    #slidertext{
        margin-top: 15rem;
    }

    #maprow {
    padding: 20px;
}
}

#aboutfooter{
	background-color:#1d3050;
	padding:3rem 3rem;
	color:#fff;
	text-align:center;
}

#aboutfooter .button{
	background-color:#a70317;
}