/*
Theme Name: Madinah Theme
Theme URI: madinahfordelaware.com
Author: Karl Stomberg
Author URI: none yet
Description: For Madinah Wilson-Anton for State Representative
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: politics
Text Domain: madinah

*/

html, body{
    margin: 0px;
    padding: 0px;
}


/* DESKTOP CSS */




@media (orientation: landscape){

/* DESKTOP MENU CSS */

header{
    
    width: 100%;
    position: fixed;
    left: 0%;
    top: 0%;
    z-index: 999;
    box-shadow: 0px 0px 20px #000;
    background-color: #0C153C;
    
}

header #headtop{

    display: flex;
    x-justify-content: space-around;
    x-align-items: stretch;
    width: 100%;
    height: 100px;

}
    
header #headtop #hamburger{

    display: none;
    
}
    
header #headtop a{
    width: auto;
    flex: 0 0 auto;
    color: #87C0F0;
    text-decoration: none;
}

header #headtop img#logo_top{
    
    width: 250px;
    height: 90px;
    margin-top: 5px;
    margin-left: 30px;
    cursor: pointer;
    display: inline-block;
    
}
    
header #headtop .menu-main-menu-container{
    
    display: flex;
    flex: 1;
    
}

header #headtop ul{
    
    margin: 0px;
    display: flex;
    width: 100%;
    
}

header #headtop li{
    
    list-style: none;
    font-size: 24px;
    font-family: corporate-a-condensed, serif;
    font-weight: bold;
    padding-top: 32px;
    flex: 1;
    text-align: center;
    
}

header #headtop li ul{
    
    display: none;
    padding-left: 0px;
    margin-top: 10px;
    padding-top: 28px;
    background-image: url(images/top_menu.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    opacity: .9;
    
}
    
    
header #headtop li ul li:first-of-type{
    
    border-top: none;
    
}

header #headtop li ul li{
    
    font-size: 24px;
    font-weight: 400;
    padding-top: 16px;
    padding-bottom: 16px;
    width: 80%;
    margin: auto;
    border-top: 1px #FFF solid;
    
}

header #headbottom{

    width: 100%;
    background-color: #A32041;
    padding-top: 5px;
    padding-bottom: 5px;

}

header #headbottom #logo_bottom{

    width: 250px;
    display: block;
    margin-left: 30px;

}

/* DESKTOP MAIN CSS */

div#main{
    
    width: 100%;
    margin-top: 100px;
    overflow-x: hidden;
    
}
    
#main #topimg img{
    
    width: 80%;
    height: auto;
    margin: auto;
    margin-top: 2vw;
    padding: 0px;
    display: block
    
}
    
/* DESKTOP HOME CSS */

div#home-content{

    width: 100%;
    display: flex;
    min-height: 600px;
    background-color: #87C0F0;
    
}
    
div#home-content #home-img{
    
    margin: 0px;
    padding: 0px;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    flex: 4;
    
}
    
div#home-content #home-gradient{
    
    background: rgb(135, 192, 240);
    background: linear-gradient(90deg, rgba(135, 192, 240,0) 0%, rgba(135, 192, 240,1) 100%);
    position: relative;
    left: -10%;
    margin: 0px;
    padding: 0px;
    flex: 1;
    
}
    
div#home-content #home-form{
    
    margin: 0%;
    padding: 0px 72px 0px 72px;
    background-color: rgb(135, 192, 240);
    flex: 5;
    
}

#home-form h1{

	font-family: corporate-a-condensed, serif;
    font-size: 60px;
    color: #0C153C;
    max-width: 800px;
	margin: auto;
	margin-top: 1em;

}
	
#home-form #mc_embed_signup{
	
	max-width: 800px;
	margin: auto;
	
}

#home-form form{

	max-width: 800px;
	margin: auto;

}

#home-form .mc-field-group{

    margin-bottom: 10px;

}

#home-form form .indicates-required{

    font-size: 20px;
    color: #0C153C;
    font-family: corporate-a-condensed, serif;
    text-align: right;

}

#home-form form .asterisk{

    font-size: 20px;
    font-family: corporate-a-condensed, serif;
    color: #A32041;

}

#home-form form label{

    font-size: 20px;
    display: block;
    color: #0C153C;
    font-family: corporate-a-condensed, serif;

}

#home-form form input[type=text]{

    width: 100%;
    font-size: 32px;
    font-family: ff-meta-web-pro, sans-serif;

}

#home-form form input[type=email]{

    width: 100%;
    font-size: 32px;
    font-family: ff-meta-web-pro, sans-serif;

}

#home-form form input[type=checkbox]{

    width: 10px;
    height: 20px;

}

#home-form form .input-group label{

    display: inline-block;
    font-size: 1.5em;
    margin-left: 10px;

}

#home-form form div.mce_inline_error{

    background-color: #A32041 !important;
    font-family: corporate-a-condensed, serif;

}

#home-form form .clear{
	
	margin-bottom: 32px;
	
}

#home-form form input[type=submit]{

    width: 50%;
    display: block;
    margin: auto;
    margin-top: 20px;
    font-size: 2em;
    background-color: #A32041;
    color: #FFF;
    font-family: corporate-a-condensed, serif;
    padding: 10px 0px 10px 0px;
    border: 3px rgba(163, 32, 65, 0.747) outset;

}

#home-form form input[type=submit]:active{

    border: 3px rgba(163, 32, 65, 0.747) inset;

}
    
/* DESKTOP PAGE CSS */

#main #page-content{
    
    max-width: 900px;
    margin: auto;
    padding: 0px 50px 0px 50px;
    font-family: ff-meta-web-pro, sans-serif;
    
}

#main #page-content iframe{

    margin: auto;
    display: block;

}

#main #page-content h1:first-of-type{
    
    font-family: corporate-a-condensed, serif;
    font-size: 60px;
    padding: 20px 0px 10px 0px;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    
}
    
#main #page-content h1:first-of-type::after{

    display: block;
    content: '';
    width: 5em;
    height: 8px;
    background-color: #A32041;
    margin: auto;
    margin-top: 10px;
    
}

#main #page-content h1{
    
    font-family: corporate-a-condensed, serif;
    font-size: 48px;
    color: #000;
    margin-bottom: 5px;
    
}

#main #page-content h2{
    
    font-family: corporate-a-condensed, serif;
    font-size: 32px;
    color: #666;
    margin-bottom: 5px;
    
}

#main #page-content h3{
    
    font-family: ff-meta-web-pro, sans-serif;
    font-size: 32px;
    color: #666;
    margin-bottom: 5px;
    
}

#main #page-content li{
    
    line-height: 1.5em;
    font-size: 18px;
    
}

#main #page-content p{
    
    font-size: 18px;
    line-height: 1.5em;
    
}
	
#main #page-content table{

	width: 100%;
	border-collapse: collapse;
	margin-top: 3em;
	margin-bottom: 3em;

}
	
#main #page-content table tr:first-of-type{

	background-color: #87c0f0;

}
	
#main #page-content table tr:nth-of-type(2n){

	background-color: #EEE;

}
	
#main #page-content table th{

	text-align: left;
	font-size: 1.5em;
	font-family: corporate-a-condensed, serif;
	padding: 1em;
	border: 1px #000 solid;
	color: #000;

}
	
#main #page-content table td{

	text-align: left;
	padding: 1em;
	border: 1px #000 solid;

}
	
#platform-top{

	padding: 0px;
	text-align: center;
	
}
	
#platform-top li{
	
	display: inline-block;
	font-family: ff-meta-web-pro, sans-serif;
	background-color: #87C0F0;
	padding: 10px 20px 10px 20px;
	margin: 10px 15px 10px 15px;
	cursor: pointer;
	font-size: 20px !important;
	font-weight: bold;
	
}
	
#platform-top li ul{

	margin: 20px 0px 20px 0px;
	
}
	
.alignleft{
	
	margin-top: 0em;
	margin-right: 2em !important;
	
}
	
.alignright{
	
	margin-top: 0em;
	margin-left: 2em !important;
	
}

/* DESKTOP POST CSS */

#main #post-content{
    
    max-width: 900px;
    margin: auto;
    padding: 0px 50px 0px 50px;
    
}

#main #post-content #post-title{
    
    font-family: corporate-a-condensed, serif;
    font-size: 60px;
    padding: 20px 0px 10px 0px;
    margin-top: 20px;
    margin-bottom: 10px;
    
}

#main #post-content #post-title::after{

    display: block;
    content: '';
    width: 5em;
    height: 8px;
    background-color: #A32041;
    margin: auto;
    margin-top: 10px;
    
}

#main #post-content h1{
    
    font-family: corporate-a-condensed, serif;
    font-size: 48px;
    color: #000;
    margin-bottom: 5px;
    
}

#main #post-content h2{
    
    font-family: corporate-a-condensed, serif;
    font-size: 32px;
    color: #666;
    margin-bottom: 5px;
    
}

#main #post-content h3{
    
    font-family: ff-meta-web-pro, sans-serif;
    font-size: 32px;
    color: #666;
    margin-bottom: 5px;
    
}

#main #post-content li{
    
    line-height: 1.5em;
    font-size: 18px;
    
}


#main #post-content p{
    
    font-size: 18px;
    line-height: 1.5em;
    
}
	
figcaption{
	font-size: 16px;
}
    
#footer{
        
    width: 100%;
    background-color: #0C153C;
    margin-top: 4em;
    padding: 20px 0px 20px 0px;
    text-align: center;
        
}

#footer span{

    display: inline-block;
    color: #FFF;
    font-size: 20px;
    font-family: corporate-a-condensed, serif;
    margin: 0px 10px 0px 10px;

}

#footer span em{

    color: #DDD;

}

#footer #footer-bottom{

    margin-top: 1em;

}

#footer-bottom span{

    margin: 0px 20px 0px 20px;
    color: #DDD;
    font-size: 16px;

}

#footer #footer-social{

    display: inline-block;
    margin: 0px 10px 0px 10px;

}

#footer-social a img{

    display: inline-block;
    height: 30px;
    width: auto;
    margin: 0px 10px 0px 10px;
    vertical-align: middle;

}
    
}



/* MOBILE CSS */

@media (orientation: portrait){

/* MOBILE MENU CSS */

header{
    
    width: 100%;
    height: 10vh;
    position: fixed;
    left: 0%;
    top: 0%;
    background-color: #0C153C;
    z-index: 999;
    
}

header #headtop img#logo_top{
    
    height: 8vh;
    width: auto;
    display: block;
    margin: auto;
    margin-top: 1vh;
    margin-bottom: 1vh;
    
}

header #headtop #hamburger{

    height: 6vh;
    width: 6vh;
    position: fixed;
    left: 2vh;
    top: 2vh;
    background-size: 100% 100%;
    
}

header #headbottom{

    width: 100%;
    background-color: #A32041;
    padding-top: 5px;
    padding-bottom: 5px;

}

header #headbottom #logo_bottom{

    height: 2vh;
    width: auto;
    display: block;
    margin: auto;

}
    

header ul{
    
    width: 100%;
    height: 90vh;
    position: fixed;
    left: 0%;
    top: 10vh;
    margin: 0px;
    border-top: 2px #FFF solid;
    display: none;
    overflow-y: scroll;
    padding: 0px;
    background-color: #0C153C;
    z-index: 999;
    
}

header li{
    
    list-style: none;
    font-size: 10vw;
    font-family: corporate-a-condensed, serif;
    font-weight: 500;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 100%;
    text-align: center;
    border-top: 1px #FFF solid;
    
}

header li a{
    
    text-decoration: none;
    color: #87C0F0;
    
}

header li ul{
    padding-left: 0px;
    width: auto;
    height: auto;
    position: static;
    border-top: none;
    display: block;
    overflow-y: hidden;
    padding-top: 30px;
}

header li ul li{
    
    font-size: 4vw;
    font-weight: 400;
    padding-top: 8px;
    padding-bottom: 8px;
    border-top: none;
    
}

/* MOBILE HOME CSS */

div#home-content{

    width: 100%;
    background-color: #87C0F0;
    
}
    
div#home-content #home-img{
    
    margin: 0px;
    padding: 0px;
    height: 40vh;
    width: 100%;
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    
}
    
div#home-content #home-gradient{
    
    background: rgb(135, 192, 240);
    background: linear-gradient(0deg, rgba(135, 192, 240,1) 0%, rgba(135, 192, 240,0) 100%);
    position: absolute;
    top: 40vh;
    left: 0%;
    height: 10vh;
    width: 100%;
    z-index: 998;
    transform: translateY(2px);
    
}
    
div#home-content #home-form{
    
    margin: 0%;
    padding: 0px;
    background-color: rgb(135, 192, 240);
    padding-bottom: 1em;
    
}
    
#home-form h1{
    
    font-family: corporate-a-condensed, serif;
    font-size: 48px;
    color: #0C153C;
    text-align: center;
    padding: 0px;
    text-transform: uppercase;
    line-height: 1em;
    margin: 0px;
    padding: 0px 10px 0px 10px;
    
}

#home-form form{

    width: 80%;
    margin: auto;

}

#home-form .mc-field-group{

    margin-bottom: 10px;

}

#home-form form .indicates-required{

    font-size: 20px;
    color: #0C153C;
    font-family: corporate-a-condensed, serif;
    text-align: right;

}

#home-form form .asterisk{

    font-size: 20px;
    font-family: corporate-a-condensed, serif;
    color: #A32041;

}

#home-form form label{

    font-size: 20px;
    display: block;
    color: #0C153C;
    font-family: corporate-a-condensed, serif;

}

#home-form form input[type=text]{

    width: 100%;
    font-size: 32px;
    font-family: ff-meta-web-pro, sans-serif;
    box-sizing : border-box;

}

#home-form form input[type=email]{

    width: 100%;
    font-size: 32px;
    font-family: ff-meta-web-pro, sans-serif;
    box-sizing : border-box;

}

#home-form form input[type=checkbox]{

    width: 10px;
    height: 20px;
    box-sizing : border-box;

}

#home-form form .input-group label{

    display: inline-block;
    font-size: 1.5em;
    margin-left: 10px;

}

#home-form form div.mce_inline_error{

    background-color: #A32041 !important;
    font-family: ff-meta-web-pro, sans-serif;

}

#home-form form input[type=submit]{

    width: 100%;
    display: block;
    margin: auto;
    margin-top: 20px;
    font-size: 2em;
    background-color: #A32041;
    color: #FFF;
    font-family: corporate-a-condensed, serif;
    padding: 10px 0px 10px 0px;
    border: 3px rgba(163, 32, 65, 0.747) outset;
    margin-bottom: 1em;

}

#home-form form input[type=submit]:active{

    border: 3px rgba(163, 32, 65, 0.747) inset;

}

/* MOBILE MAIN CSS */

div#main{
    
    width: 100%;
    padding-top: 10vh;
    
}
    
#main #topimg{
    margin-bottom: -5px;
}

#main #topimg img{
    
     width: 100%;
     height: auto;
     margin: 0px;
     padding: 0px;
    
}

/* MOBILE PAGE CSS */

#main #page-content{
    
    max-width: 900px;
    margin: auto;
    padding: 0px 20px 0px 20px;
    overflow-x: scroll;
    
}

#main #page-content h1{
    
    font-family: corporate-a-condensed, serif;
    font-size: 52px;
    text-align: center;
    padding: 20px 0px 10px 0px;
    margin-top: 20px;
    margin-bottom: 10px;
    
}

#main #page-content h2{
    
    font-family: corporate-a-condensed, serif;
    font-size: 40px;
    color: #666;
    margin-bottom: 5px;
    
}

#main #page-content h3{
    
    font-family: ff-meta-web-pro, sans-serif;
    font-size: 24px;
    color: #666;
    margin-bottom: 5px;
    
}

#main #page-content li{
    
    line-height: 1.5em;
    font-size: 18px;
    
}

#main #page-content p{
    
    font-family: ff-meta-web-pro, sans-serif;
    font-size: 16px;
    padding: 10px 0px 10px 0px;
    line-height: 1.5em;
    
}
	
#main #page-content table{

	width: 100%;
	border-collapse: collapse;

}
	
#main #page-content table tr:first-of-type{

	background-color: #87c0f0;

}
	
#main #page-content table tr:nth-of-type(2n){

	background-color: #EEE;

}
	
#main #page-content table th{

	text-align: left;
	font-size: 1.5em;
	font-family: corporate-a-condensed, serif;
	padding: 1em;
	border: 1px #000 solid;
	color: #000;

}
	
#main #page-content table td{

	text-align: left;
	padding: 1em;
	border: 1px #000 solid;

}
	
#main #page-content li{
    
    line-height: 1.5em;
    font-family: ff-meta-web-pro, sans-serif;
    font-size: 16px;
    
}

#main img{
        
    width: 50%;
    height: auto;
    display: block;
    margin: auto;
        
}
	
#platform-top{

	padding: 0px;
	text-align: left;
	
}
	
#platform-top li{
	
	display: inline-block;
	font-family: ff-meta-web-pro, sans-serif;
	background-color: #87C0F0;
	padding: 5px 15px 5px 15px;
	margin: 5px 10px 5px 10px;
	cursor: pointer;
	font-size: 20px !important;
	font-weight: bold;
	
}

/* MOBILE POST CSS */

#main #post-content{
    
    max-width: 900px;
    margin: auto;
    padding: 0px 50px 0px 50px;
    
}

#main #post-content #post-title{
    
    font-family: corporate-a-condensed, serif;
    font-size: 60px;
    padding: 20px 0px 10px 0px;
    margin-top: 20px;
    margin-bottom: 10px;
    
}

#main #post-content h1{
    
    font-family: corporate-a-condensed, serif;
    font-size: 48px;
    padding: 20px 0px 10px 0px;
    margin-top: 20px;
    margin-bottom: 10px;
    
}

#main #post-content h2{
    
    font-family: corporate-a-condensed, serif;
    font-size: 32px;
    color: #666;
    margin-bottom: 5px;
    
}

#main #post-content h3{
    
    font-family: ff-meta-web-pro, sans-serif;
    font-size: 32px;
    color: #666;
    margin-bottom: 5px;
    
}

#main #post-content li{
    
    line-height: 1.5em;
    font-family: ff-meta-web-pro, sans-serif;
    font-size: 16px;
    
}

#main #post-content p{
    
    font-family: ff-meta-web-pro, sans-serif;
    font-size: 16px;
    padding: 10px 0px 10px 0px;
    line-height: 1.5em;
    
}
    
#footer{
        
    width: 100%;
    background-color: #0C153C;
    margin-top: 2em;
    padding: 1em 0 1em 0;
        
}
    
#footer span{

    color: #FFF;
    font-size: 20px;
    font-family: corporate-a-condensed, serif;
    display: block;
    text-align: center;
    padding: 10px 0 10px 0;

}

#footer span em{

    color: #DDD;

}

#footer-bottom span{

    margin: 0px 20px 0px 20px;
    color: #DDD;
    font-size: 16px;
    display: block;
    text-align: center;

}

#footer-social{

    text-align: center;

}

#footer-social a img{

    display: inline-block;
    height: 30px;
    width: auto;
    margin: 0px 10px 0px 10px;
    vertical-align: middle;

}
    
}