/* STUFF FOR MOCKS */
/* 

1. http://www.prizmah.org/wp-content/uploads/2016/06/Prizmah_logo_high.png
2. Change header donate button to "Subscribe"
3. Hero bg image: http://backofficethinking.com/client-images/prizmah-bg.jpg
4. Replace photo credit with:
<p class="photo-credit"><em><span style="font-size:10px"><small>Photo credit:&nbsp;<a href="http://www.heschel.com/">Abraham Joshua Heschel Day School</a></small></span></em></p>
5.

*/

/* DEV NOTES */
/* 

1. PHOTO CREDITS MUST USE CLASS "photo-credit" on p tags
ex: <p class="photo-credit"></p>
2. Remove the empty <p></p> tags from content. This is not needed with the new css.
3. For small text used as disclaimer text that is "smaller and italicized" you must use the ".disclaimer" class on spans, p tags, etc.
4. Blockquotes must use one of three classes in order for them to work. They must be applied to the paragraph level.
	"blockquote"
	"blockquote-left"
	"blockquote-right"

*/


@font-face {
    font-family: 'flamalight';
    src: url('fonts/flama-light-webfont.woff2') format('woff2'),
         url('fonts/flama-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'flamasemibold';
    src: url('fonts/flama-semibold-webfont.woff2') format('woff2'),
         url('fonts/flama-semibold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    line-height: 1.6
}
.main-container {
    background: #fff none repeat scroll 0 0;
    padding: 0 0 40px;
    width: 100%;
}
footer{
	border-top: 4px solid #e3e3eb;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
a, p{
	line-height: 1.6;
}
p, p span, .main-container, li span{
	font-size: 18px !important;
}
h2{
	font-size: 24px;
}
.menu-header .nav > li > a,
b, 
strong,
h1, h2, h3, h4, h5, h1 a, h2 a, h3 a,
a.donate,
.blockquote, 
.blockquote-right, 
.blockquote-left,
.banner-caption h1,
a.login-link,
.crm-container .messages.cms_user_help-section a {
	font-family: 'flamasemibold',sans-serif;
/*	font-family: flama;*/
	font-weight: normal;
}
.photo-credit, .photo-credit small {
    font-size: 10px !important;
    text-align: right;
}
h2.sub-title, 
h2.sub-title a,
body,
a,
p{
    font-family: 'flamalight',sans-serif;
/*    font-family: "flama"; */
    font-style: normal;
    font-weight: normal;
}
h2.sub-title, h2.sub-title a{
    font-size: 32px;
}
h1, .h1, h2, .h2, h3, .h3, p{
	margin-bottom: 30px;
}
p.disclaimer, p.disclaimer span, .disclaimer, .disclaimer span {
    font-size: 14px !important;
    font-style: italic;
}


/* HEADER/LOGO SECTION */
.logo img {
    display: block;
    max-height: 80px;
    width: auto;
}
a.logo {
    display: block;
    margin: 18px 0 10px;
}
a{
	color: #1692F9;
	transition: all 0.25s ease 0s;
	color: rgb(54,82,163);
}
a:hover,
a:focus{
	text-decoration: none;
	color: #222E64;
}
.user-welcome a:hover,
.user-welcome a:focus{
	text-decoration: none;
	color: #1692F9;
}
a.donate,
a.button,
a.login-link,
.crm-container .messages.cms_user_help-section a {
    background: #1692F9 none repeat scroll 0 0;
    background: #f66600 none repeat scroll 0 0;
    background: mediumvioletred;
    border: medium none;
    font-size: 18px;
    font-weight: normal;
    height: 40px;
    letter-spacing: 1px;
    line-height: 40px;
    padding: 0 20px !important;
    transition: all 0.25s ease 0s;
    border-radius: 3px;
    color: #fff;
}
a.login-link,
.crm-container .messages.cms_user_help-section a {
    padding: 5px 10px !important;
    height: initial;
    line-height: initial;
}
.crm-container .messages.cms_user_help-section,
.region-help.alert-info {
    font-size: 22px;
    padding: 20px 9%;
    line-height: 1.5;
    text-align: center;
}
.region-help.alert-info p {
    font-size: 22px !important;
}
.crm-container .messages.cms_user_help-section a{
    text-transform: uppercase;
}
.crm-container .messages.cms_user_help-section{
	display: none;
}
a.donate:hover,
a.button:hover,
a.login-link:hover,
.crm-container .messages.cms_user_help-section a:hover {
    background: #212E63 none repeat scroll 0 0;
}
a.button,
a.login-link{
	float: none;
	display: inline-block;
}
header a.social-icons {
    display: none;
}
#navbar > .row {
    background: #fff none repeat scroll 0 0;
}
.hd-btns {
    display: inline-block;
}
.user-welcome {
    display: inline-block;
    margin: 0;
    line-height: 40px;
}
.user-welcome a {
    padding: 0 10px;
    color: gray;
}
.user-welcome + .clearfix {
    display: none;
}
.rightSide {
    float: right !important;
    margin-top: 36px;
    text-align: right;
}
.user-welcome span {
    color: #c3c3c3;
    display: none;
}

/* MENU HEADER */
.menu-header {
    background-color: rgb(33, 46, 99);
    color: #222e64;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.12);
}
.menu-header a {
    color: #222e64;
    color: rgb(194, 232, 247);
    color: #fff;
    transition: all 0.25s ease 0s;
}
.nav > li:hover > a, .nav > li > a:focus {
    background-color: #1692f9;
    color: #fff;
    text-decoration: none;
}
.navbar-brand, .navbar-nav > li > a {
    text-shadow: none;
}
.navbar-nav > li:first-child, .navbar-nav > li, .navbar-nav > li:last-child {
    float: left;
    width: auto;
}
.menu-header .nav > li > a {
    font-size: 15px;
    height: 50px;
    line-height: 50px;
    padding: 0 12px;
}
.dropdown-menu {
    background-color: #1692F9;
    border: medium none;
    top: 100%;
}
.dropdown-menu > li:hover > a, .dropdown-menu > li > a:focus{
	background-color: #005dab !important;
	color: #fff;
	background-image: none !important;
}
li.active-trail > ul li.active {
    background: #1692F9;
}
.menu-header .dropdown-menu > .active > a, 
.menu-header .dropdown-menu > .active > a:hover, 
.menu-header .dropdown-menu > .active > a:focus,
.menu-header .dropdown-menu > li.active, 
.menu-header .dropdown-menu > li.active:hover, 
.menu-header .dropdown-menu > li.active:focus{
	background: #1692F9;
	/*background: transparent !important;*/
	color: #fff;
}
.dropdown-menu > li > a {
	/*padding: 10px 20px;*/
    padding: 6px 20px;
}

/* Sticky header disabled  
@media screen and (min-width: 768px){
	#navbar {
		position: fixed;
		top: 0;
		z-index: 500;
	}
	div.menu-header {
		position: fixed;
		top: 104px;
		width: 100%;
		z-index: 500;
	}
	.main-container.container {
		margin-top: 148px;
	}
}
*/
@media screen and (min-width: 768px){
	.menu-header .nav > li > a {
			font-size: 12px;
	}
}
@media screen and (min-width: 1024px){
	div.menu-header {
		top: 116px;
	}
	.menu-header .nav > li > a {
		font-size: 15px;
		height: 60px;
		line-height: 60px;
		padding: 0 18px;
	}
/* Sticky header disabled  
	.main-container.container {
		margin-top: 176px;
	}
*/
.menu-header .nav > li > a {
    font-size: 14px;
    padding: 0 15px;
}
}
@media screen and (min-width: 1200px){
	.menu-header .nav > li > a {
		padding: 0 15px;
	}
}
li.active-trail > a {
    background: initial !important;
    /*color: #1692f9;*/
    text-decoration: none;
}
/*
.menu-header .menu > li.active-trail > a:after {
    background-color: #1692F9;
    bottom: 0;
    content: "";
    display: block;
    height: 5px;
    left: 0;
    position: absolute;
    width: 100%;
}
*/
.menu-header .menu > li.active-trail > a {
    background-color: rgb(194, 232, 247) !important;
    background-color: #1692f9 !important;
    color: #fff;
}


/* INTERIOR */
.dropdown-menu > li > a {
    padding: 10px 20px;
}
.banner .banner-caption {
    padding: 15px;
    width: 100%;
}

.banner-caption h1 {
    font-size: 20px;
    letter-spacing: 8px;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
}
.field-name-field-subtitle{
	clear:both;
}
.field-name-field-banner-links{

}
/*.field-name-field-banner-links .field-items{
	display: flex;
	justify-content: center;
}*/
.field-name-field-banner-links .field-item.even {
    margin-bottom: 10px;
}
.field-name-field-banner-links .field-item{
	margin: 0 10px;
}
.field-name-field-banner-links .field-item a{
	border:3px solid white;
	padding:8px;
	color;white !important;
}
.page-node-8033 .banner-caption h1:after,
.page-node-8034 .banner-caption h1:after,
.page-node-8037 .banner-caption h1:after {
	content:'Membership is available on a school basis and is open to all Jewish day schools. Enroll your school online below.';
	font-family: 'flamalight',sans-serif;
	font-size: 20px;
	color: #fff;
	font-weight: normal;
	text-transform: none;
	line-height: 1.4;
	letter-spacing: .4px;
	display: block;
	padding-top: 15px;
	max-width: 600px;
	margin:auto;
}

.banner .banner-caption{
	padding: 15px;
	background-color: rgb(22, 146, 249);
	background-color: #fff;
	border: 12px solid #3652a3;
}
p iframe {
    max-width: 100% !important;
}
blockquote p,
blockquote p.rteright
{
    font-size: 21px !important;
    padding: 0 30px;
    position: relative;
    width: 100%;
    margin: 0 0 30px 0;
    color: #0493AA;
    line-height: 1.3;
}
blockquote p.rteright{
	border-right: 6px solid;
	text-align: right;
	border-left: none;
}
blockquote p{
	border-left: 6px solid;
	text-align: left;
}
blockquote {
    border: medium none;
    font-size: inherit;
    margin: 0;
    padding: 0;
}
blockquote p:last-child, blockquote ul:last-child, blockquote ol:last-child {
    margin-bottom: 30px;
}


@media screen and (min-width: 768px){
	blockquote p,
	blockquote p.rteright{
		width: 50%;
	}
	blockquote p.rteright {
		margin-right: 0;
		margin-left: 7%;
		float: right;
	}
	blockquote p{
		margin-left: 0;
		margin-right: 7%;
		float: left;
	}
}
@media screen and (min-width: 1100px){
	blockquote p.rteright {
		margin-right: -120px;

	}
	blockquote p{
		margin-left: -120px;

	}
}


@media screen and (min-width:768px){
	.banner .banner-caption{
		margin: 0 auto;
		left: 0;
		top: 10%;
		bottom: auto;
		position: absolute;
		width: 100% !important;
		padding: 30px;
		background-color: rgba(54, 82, 163, .3);
		text-align: center;
		border: 12px solid #C3E8F8;		
	}
	.banner-caption h1{
		font-size: 36px;
	}
}

@media screen and (min-width:992px){
	.banner-caption h1{
		font-size: 48px;
	}
}

@media screen and (min-width:1100px){
	.banner-caption h1{
		font-size: 48px;
	}
}

.inner-page > .content > .col-sm-4 {
    display: none;
}
.inner-page > .content{
    float: none;
    margin: 40px auto 0;
    max-width: 900px;
}
.inner-page > .content > .col-sm-8{
	width: 100%;
}
.main-container > .row {
    margin: 0;
}
.main-container > .row > .col-sm-12 {
    padding: 0;
}
.banner img {
    max-width: 100%;
    width: 100% !important;
    height: auto !important;
}

@media screen and (max-width: 767px){
	.menu-header .nav > li{
		width: 100%;
	}
	.nav > li > a:hover, .nav > li > a:focus{
		background-color: transparent !important
	}
	.dropdown-menu > li > a{
		color: #fff;
	}
	.menu-header .menu > li.active-trail > a:after{
		display: none;
	}
	.dropdown-menu{
		border-radius: 0;
		box-shadow: none;
	}
	#mini-panel-hp_first_section, .inner-page{
		margin-top: 0;
	}
	.dropdown-menu > li > a{
		white-space: normal;
	}
	.navbar-nav > li > .dropdown-menu .dropdown-menu {
		box-shadow: none;
		padding-left: 40px;
	}
	.navbar-nav > li > .dropdown-menu .dropdown-menu li a {
		padding-left: 40px;
	}
	.custom-header .donate{
		float: left;
	}
}
.navbar-default .navbar-toggle, 
.navbar-default .navbar-toggle:hover, 
.navbar-default .navbar-toggle:focus{
	background: transparent;
}
.navbar-default .navbar-toggle .icon-bar{
	background-color: #1692F9;
}

/*================ FOOTER ================*/

.region-footer {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 80px 15px;
	text-align: center;
}

.region-footer img {
    max-width: 180px;
    display: inline-block;
    margin-bottom: 20px;
}

.region-footer hr {
	border-color: #fff;
	margin-bottom: 15px;
}

.region-footer .donate {
	float: none;
	padding: 10px 20px !important;
}

.region-footer .scial-btns a {
	color: #34393d;
}

.region-footer .scial-btns a:hover {
	opacity: 0.7;
}

.footer {
    background: #eee none repeat scroll 0 0;
    padding-bottom: 30px;
    text-align: center;
}

.copy-rights {
    background: #3551a2 none repeat scroll 0 0;
    color: #a5c9ec;
    text-align: center;
}

.footer p,
.footer a{
	color: #222E64;
}

.footer h1 {
    color: #5571c2;
    font-size: 16px;
    text-transform: uppercase;
}

.footer .donate{
	margin-top: 0;
	text-align: center;
	padding: 0 50px !important;
	margin-right: 0 !important;
	display: inline-block;
	float: none;
}

.footer li.active-trail > a {
    color: #222E64;
}

.footer hr{
	border-top: 2px solid #3551A2;
}

.adrs-info img,
.footer hr {
    display: none;
}

.footer a.social-icons {
    margin: 0 10px;
}

.footer .margn-30{
	margin: 0;
}

@media screen and (max-width: 540px){
	.footer .row > div {
		padding-left: 15px;
		text-align: center;
		width: 100%;
	}
}

.region-footer {
	overflow:hidden;
}

.region-footer h2 {
	font-size:18px;
	margin-top: 0;
	margin-bottom: 20px;
}

.region-footer .block {
	margin-bottom: 20px;
}

@media screen and (min-width:768px){
	.region-footer {
		text-align: left;
	}

	.region-footer .block{
		float: left;
		width: 20%;
		margin: 1% 0 1% 6%;
	}

	.region-footer .block:first-child {
		margin-left: 0;
	}
	
	.region-footer img {
    	max-width: 70%;
    	margin-bottom: 0;
	}

	.ftr-address {
		padding-left: 23%;
	}

	.region-footer .donate {
    	margin-bottom: 0;
	}

	.region-footer .scial-btns a {
		margin: 0 20px 0 0;
	}
}

/* IMAGE FLOATS */
img {
	max-width:100%;
	height:auto;
}
.node-type-landing-page {}
.group-div {
	background-size:cover;
	/*border:10px solid lightblue;*/
	min-height: 500px;
	/*padding:50px;*/
	padding: 100px 15px;
}
.group-main-content-inner {}

/* IMAGE FLOATS */
img.right {
    float: right !important;
    height: auto !important;
    margin: 0 0 5% 5% !important;
    width: 50% !important;
}

img.left {
    float: left !important;
    height: auto !important;
    margin: 0 5% 5% 0 !important;
    width: 50% !important;
}
img.full {
    float: none !important;
    height: auto !important;
    margin: 0 0 5% !important;
    width: 100% !important;
}
@media screen and (max-width: 640px) {
	img.right, img.left {
		margin: 0 0 5% !important;
		width: 100% !important;
		height: auto !important;
	}
}
h1, h2 {
    text-transform: uppercase;
    line-height: 1.2
}
h1, h1 a {
    font-size: 45px;
}
h2, h2 a {
    font-size: 30px;
}
h2.title-content a, h2.title-content {
    font-size: 30px;
    line-height: 1.2;
}
h3, h3 a {
    font-size: 18px;
}
ul, ol{
	margin-bottom: 30px;
}

/*============== WEBFORMS ==============*/

.container.condensed {
	max-width: 750px;
}

.panel,
.panel-body {
	padding: 0;
	border: none;
	background: none;
	box-shadow: none;
}

/*forms and fields*/

.form-control,
.email {
	height: 50px;
	width: 100%;
	margin: 5px 0;
	padding: 10px;
	background: #fff;
	border: 2px solid #b9b9b9;
	border-radius: 5px;
}

li.token-input-input-token {
	height: 50px;
	border: 2px solid #b9b9b9;
	border-radius: 5px;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

input:focus,
.form-control:focus,
.input:focus,
li.token-input-highlighted-token {
  border-color: #1692f9;
}

form ul.token-input-list {
	border: 0;
	width: 100%;
}

form ul.token-input-list li input {
	border: 0;
	margin: 0;
	padding: 10px;
}

.webform-submit {
	height: 40px;
	color: #fff;
	background: #1692f9;
	border: none;
	border-radius: 3px;
	margin: 20px 0 50px;
	padding: 10px 25px;
	font-family: 'flamasemibold', sans-serif;
	font-size: 18px;
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
    text-shadow: none;
    transition: all 0.25s ease 0s;
    display: inline-block;
}

.webform-submit::after {
    content: "\f178";
    font-family: 'fontawesome';
    padding-left: 8px;
}

/*checkboxes and select button*/

select.form-select {
     -webkit-appearance: none;  /*Removes default chrome and safari style*/
     -moz-appearance: none;  /*Removes default style Firefox*/
     background: url('/sites/all/themes/ravsak/images/dropdown-caret.png');
     background-repeat: no-repeat;
     background-position: right 15px center;
     padding-right: 40px; 
     cursor: pointer;
}

form ul.token-input-list li {
	 -webkit-appearance: none;  /*Removes default chrome and safari style*/
     -moz-appearance: none;  /*Removes default style Firefox*/
     background: url('/sites/all/themes/ravsak/images/mag-glass.png');
     background-repeat: no-repeat;
     background-position: right 15px center;
     padding-right: 40px; 
}

form ul.token-input-list li.token-input-token {
    background: #1692f9 none repeat scroll 0 0;
    padding: 10px 50px 10px 20px;
    margin-bottom: 10px;
    border-radius: 3px;
    position: relative;
}
.token-input-delete-token {
    color: #fff !important;
    font-size: 40px !important;
    position: absolute;
    right: 14px;
    text-align: center;
    top: 45%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    opacity: .75
}
.token-input-delete-token:hover {
	opacity: 1
}
form li.token-input-token p {
    color: #fff;
    font-weight: bold;
}


select::-ms-expand {
    display: none;
}

.webFormContainer .checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px !important;
    float: left;
    margin-top: 7px;
}

.form-type-checkbox label {
	padding-left: 25px;
}

/*arrow dropdown*/

div.token-input-dropdown {
    position: absolute;
    width: 655px;
    background-color: #fff;
    overflow: hidden;
    border-left: 2px solid #b9b9b9;
    border-right: 2px solid #b9b9b9;
    border-bottom: 2px solid #b9b9b9;
    border-radius: 5px;
    cursor: default;
    font-size: 12px;
    font-family: 'flamalight',sans-serif;
}

/*contact fields*/

.city,
.state,
.name,
.last-name {
	width: 36%;
}

.prefix,
.postal {
	width: 20%;
}

.reg-location,
.country,
.pro-contact-mob,
.pro-contact-work,
.hos-contact,
.hos-title,
.field-half-left,
.field-half-right {
	width: 48%; 
}

.prefix,
.city,
.country,
.pro-contact-work,
.hos-title,
.field-half-left {
	float: left;
	margin-right: 4%;
}

.field-half-right{
	float: right;
}

.name,
.state,
.postal {
	float: left;
}

.postal {
	margin-left: 4%;
}

.last-name {
	float: left;
	margin-left: 4%;
}

.reg-location,
.country,
.pro-contact-mob,
.hos-contact {
	display: inline-block;
}

.grade-level {
    float: left;
    width: 50%;
}

.aprox-enrollment {
    display: inline-block;
    width: 50%;
}

@media screen and (max-width: 600px){
	.city, .state, .name, .last-name, .prefix, .postal, .reg-location, 
	.country, .pro-contact-mob, .pro-contact-work, .hos-contact, .hos-title, .field-half-left, .field-half-right {
		width: 100%;
		margin: 0;
	}

	.node-type-webform .affinity-group .form-type-checkbox {
		width: 100%;
	}

}

/*@media screen and (max-width: 500px) {
	.webform-submit {
		display: inline-block;
		width: 100%;
		font-size: 15px;
		padding: 0;
	}
}*/

@media screen and (max-width: 400px) {
	.aprox-enrollment {
		width: 100%;
	}

}

/*markups*/

.webform-component--form-title {
	margin: 0;
}

.webform-component--post-mark-up {
	margin-top: 50px;
}

.webform-component--post-mark-up p {
	margin-bottom: 20px !important;
}

.webform-component--information-process {
    margin-bottom: 30px;
}

/*form typography*/

/* 
span.highlight {
	font-family: 'flamasemibold', sans-serif;
	color: #468ffe;
}
 */

.webform-client-form h2 {
	font-size: 24px;
	line-height: 2;
    text-transform: uppercase;
    color: #35393e;
    margin: 0;
}

.webform-client-form label {
	font-size: 20px;
	font-weight: normal;
}

.webform-client-form .description,
.webform-client-form p {
	font-size: 18px;
	color: #838383;
	margin-bottom: 20px;
}
.webform-client-form .description{
	color: #468FFE;
}

form ul.token-input-list,
.form-control,
input {
	font-family: 'flamalight',sans-serif;
	font-size: 16px;
	color: #35393e;
	font-style: normal;
    font-weight: normal; 
}

/*school info*/

.node-type-webform .denomination,
.node-type-webform .affinity-group,
.node-type-webform .grade-level,
.node-type-webform .aprox-enrollment {
	margin-bottom: 20px;
}

.node-type-webform .affinity-group .description {
	margin-bottom: 10px;
	font-size: 20px;
}

.node-type-webform .affinity-group .form-type-checkbox {
    margin-right: 15px;
    display: inline-block;
}


/*progress steps*/

.progress-steps {
	text-align: center;
	margin: 40px 0;
	padding: 0;
}

.progress-steps img {
	max-width: 397px;
}

@media screen and (max-width: 440px) {
	.progress-steps img {
		width: 100%;
	}
}
ul.tabs--primary.nav.nav-tabs {
    MAX-WIDTH: 900PX;
    MARGIN: AUTO;
}

.alert.alert-block {
	margin-top: 2%;
}

/* CONTACT US */

.webform-client-form-8041 {
	background: #E3E3EB;
	padding: 40px 40px 150px;
	border-radius: 5px;
}

.info-contact {
	padding-top: 40px;
	padding-left: 40px;
}

span.title {
	color: #35393e;
	font-family: 'flamasemibold', sans-serif;
}

span.required-note {
	float: right;
	color: #468ffe;
}

span.form-required {
	color: #468ffe;
}

/*secondary nav*/

.region-navigation {
    background: #1692f9 none repeat scroll 0 0;
}

.region-navigation ul.nav {
	margin: auto;
	max-width: 1200px;
	padding: 0 15px;
}

.region-navigation .nav > li {
	display: inline-block;
	margin-left: 32px;
}

.region-navigation ul ul {
	display: none;
}

.region-navigation ul a {
    color: #fff;
    font-family: 'flamasemibold', sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: normal;
    padding: 10px 5px;
    font-size: 12px;
}

.region-navigation .dropdown-submenu.expanded > a::after {
	border-color: transparent #fff;
	margin-top: 7px;
}

.region-navigation ul a.active-trail {
    border-bottom: 4px solid #c3e8f8;
}

.region-navigation .dropdown-submenu > .dropdown-menu {
	margin-top: 0;
}

@media screen and (max-width: 1200px) {
	.region-navigation ul a {
		/*font-size: 12px;*/
	}

	.region-navigation .nav > li {
		margin-left: 5px;
	}
}

@media screen and (max-width: 767px) {
	.region-navigation ul.nav {
		display: none;
	}
}

/* PORTAL */
.page-portal .main-container {
    margin: 0 auto;
    max-width: 1170px;
}

.page-portal .main-container > div.row,
.block.max-wrapper {
    padding: 0 15px;
}

.page-user-edit .col-lg-3 {
	display: none;
}

/*Member Menu*/

.member-menu {
	background-color: #1692f9;
	padding: 0 15px;
}

.member-menu a {
	color: #fff;
	text-transform: uppercase;
	font-family: 'flamasemibold', sans-serif;
	font-size: 15px;
}

.member-menu ul {
	list-style-type: none;
}

.member-menu ul > li {
	/*width: 33.33%; */
	width: 20%;
	float: left;
	text-align: center;
}

.member-menu ul > li:hover {
	opacity: 0.7;
	transition: all 0.25s ease 0s;
}

.member-menu ul > li > a {
	padding: 15px 0;
	display: inline-block;
	width: 100%;
}

.member-menu li.active-trail > a {
	background-color: inherit !important;
	text-decoration: none;
	color: #fff;
}

/*==================== SCHOOL DIRECTORY & MEMBER SEARCH ===================*/

.page-schools-list .panel-primary > .panel-heading,
.page-members-list .panel-primary > .panel-heading {
	background: none;
	border: none;
	padding: 10px 0;
}

.page-schools-list .panel-title a,
.page-members-list .panel-title a {
	font-family: 'flamasemibold', sans-serif;
	color: #35393e;
    font-size: 24px;
    line-height: 2;
    margin: 0;
    text-transform: uppercase;
}

.page-schools-list .panel-primary > .panel-heading + .panel-collapse > .panel-body,
.page-members-list .panel-primary > .panel-heading + .panel-collapse > .panel-body {
	border-top: 0;
}

.page-schools-list .views-view--crmcontacts-filter-combine-4,
.page-members-list .views-view--crmcontacts-filter-combine-4 {
	background: none;
	padding: 0;
}

/*checkboxes*/

.school-search-form .form-type-checkbox label,
.panel-collapse .form-type-checkbox label {
	padding-left: 5px;
}

.school-search-form .radio input[type="radio"], 
.school-search-form .radio-inline input[type="radio"], 
.school-search-form .checkbox input[type="checkbox"], 
.school-search-form .checkbox-inline input[type="checkbox"],
.panel-collapse .radio input[type="radio"], 
.panel-collapse .radio-inline input[type="radio"], 
.panel-collapse .checkbox input[type="checkbox"], 
.panel-collapse .checkbox-inline input[type="checkbox"] {
	position: relative;
}

.school-search-form .row,
.school-search-form .views-view--crmcontacts-filter-combine-4,
.panel-collapse .row,
.panel-collapse .views-view--crmcontacts-filter-combine-4 {
	margin: 0;
}

.school-search-form .organization-widgets,
.school-search-form .organization-widgets .col-md-10,
.school-search-form .organization-widgets .col-sm-12,
.panel-collapse .organization-widgets,
.panel-collapse .organization-widgets .col-md-10,
.panel-collapse .organization-widgets .col-sm-12 {
	padding: 0;
}

.school-search-form .organization-widgets .col-xs-12,
.school-search-form .organization-widgets .col-md4,
.panel-collapse .organization-widgets .col-xs-12,
.panel-collapse .organization-widgets .col-md4 {
	padding: 0;
}

.school-search-form .col-md-4 {
	margin-right: 1%;
	width: 32.66%;
}

.school-search-form .col-md-4:nth-child(3n) {
	margin-right: 0;
}

.school-search-form .action-widgets,
.panel-collapse .action-widgets {
	clear: both;
	padding: 0;
	margin-bottom: 5px;
}

.school-search-form .views-exposed-form .action-widgets .views-exposed-widget,
.panel-collapse .views-exposed-form .action-widgets .views-exposed-widget {
	float: left;
	margin: 0;
}

.school-search-form .col-md-2,
.school-search-form .col-md-10 {
	width: 100%;
	border: 0;
}

.filter-combine {
    float: left;
    margin-right: 1%;
    width: 49.5%;
}

.filter-display-name {
    width: 49.5%;
    float: left;
}

.filter-relationship-type-id {
    display: none;
}

.page-members-list .individual-widgets {
	padding: 0;
	width: 100%;
	margin-bottom: 0;
}

.page-members-list .organization-widgets {
	border: 0;
	width: 100%;
	float: left;
}

.page-members-list .panel-carret {
	padding: 0;
}

.page-members-list .panel-carret::before {
	display: none;
}

.views-exposed-widget .btn-primary {
	height: 40px;
	color: #fff;
	background: #1692f9;
	border: none;
	border-radius: 3px;
	margin-right: 10px;
	padding: 10px 25px;
	font-family: 'flamasemibold', sans-serif;
	font-size: 18px;
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
    text-shadow: none;
    transition: all 0.25s ease 0s;
}

#edit-reset {
	height: 40px;
	color: #1692f9;
	background: transparent;
	border: 2px solid #1692f9;
	border-radius: 3px;
	padding: 0px 30px;
	font-family: 'flamasemibold', sans-serif;
	font-size: 18px;
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
    text-shadow: none;
    transition: all 0.25s ease 0s;
}

#edit-reset:hover {
	opacity: 0.7;
	transition: all 0.25s ease 0s;
}

.school-search-form label {
	margin-bottom: 0;
}

/*update to cividiscount label/input presentation*/
.cividiscount td{
	display:block;
	clear:both;
}

@media screen and (max-width: 640px) {
	.page-schools-list .view-crmcontacts,
	.page-members-list .view-search-civicrm-members {
		overflow: scroll;
	}
}

@media screen and (max-width: 767px) {
	.page-schools-list h1.title {
		padding-left: 15px;
	}

	.page-schools-list .col-xs-12.col-md-4 {
		width: 100%;
	}

	.page-members-list .filter-combine,
	.page-members-list .filter-display-name,
	.page-members-list .filter-city,
	.page-members-list .filter-state-province,
	.page-members-list .filter-job-title-61,
	.page-members-list .filter-studies-58,
	.page-members-list .filter-relationship-type {
		width: 100%;
		float: left;
	}

	.page-members-list .individual-widgets {
		display: block;
		padding: 0;
	}
}

/*school profile*/

.page-school h1.title {
	padding: 0 15px;
}

.page-school .attachment {
	margin-top: 30px;
}

/*member search*/

.input-group {
	width: 100%;
}

.input-group-addon {
	display: none;
}

.page-members-list .input-group .form-control:first-child, 
.page-members-list .input-group-addon:first-child, 
.page-members-list .input-group-btn:first-child > .btn, 
.page-members-list .input-group-btn:first-child > .btn-group > .btn, 
.page-members-list .input-group-btn:first-child > .dropdown-toggle, 
.page-members-list .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), 
.page-members-list .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
	border-bottom-right-radius: 6px !important;
	border-top-right-radius: 6px !important;
}

.filter-city {
    float: left;
    margin-right: 1%;
    width: 49.5%;
}

.page-members-list .organization-widgets {
    width: 100%;
    display: inline-flex;
    padding: 0;
}

.filter-state-province {
    display: inline-block;
    width: 49.5%;
}

.filter-job-title-61, .filter-studies-58 {
    float: left;
    margin-right: 1%;
    width: 32.6%;
}

.filter-relationship-type {
    float: left;
    margin-right: 0 !important;
    width: 32.6%;
    display: inline-block;
}

.page-members-list .action-widgets {
	width: 100%;
}

/*====== RESHET ======*/

.node-type-reshet-group img.pull-left.margnR-40.marTop20 {
    max-width: 190px;
}

.logged-in .memberonly { display: none !important;}


/*page user: my reshet groups*/

/*.page-user-my-reshet #content_below {
	background: #fff;
	max-width: 1170px;
	margin: 0 auto;
	padding: 40px 35px 80px;
}*/

.page-user-my-reshet section.my-groups {
	background: #cccccc;
	text-align: left;
    padding: 5px 10px 20px 25px;
}

.page-user-my-reshet .view-user-groups li a:first-child {
    margin-left: 0;
}

/* Responsive embed */
.embed-container { 
	position: relative; 
	padding-bottom: 56.25%; 
	height: 0; 
	overflow: hidden; 
	max-width: 100%; 
}

.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
}

/*====================================
============contribute page===========
====================================*/

.page-civicrm.page-civicrm-contribute .main-container {
    max-width: 750px;
    margin: 4% auto;
}

/*forms and fields*/
#crm-container.crm-public input[type="text"], 
#crm-container.crm-public input[type="password"], 
#crm-container.crm-public input[type="email"] {
	height: 50px;
    width: 100%;
    margin: 5px 0;
    padding: 10px;
    background: #fff;
    border: 2px solid #b9b9b9;
    border-radius: 5px;
    box-sizing: border-box;
}

.crm-container .replace-plain, 
.crm-container textarea, 
.crm-container select.crm-form-multiselect {
	min-height: 150px;
    width: 100%;
    margin: 5px 0;
    padding: 10px;
    background: #fff;
    border: 2px solid #b9b9b9;
    border-radius: 5px;    	
}

/*dropdowns*/

.select2-container .select2-choice,
.crm-container.crm-public .select2-container .select2-choice,
#crm-container.crm-public select {
	padding-right: 40px; 
	cursor: pointer;
	height: 50px;
    width: 100%;
    margin: 5px 0;
    padding: 10px;
    background: #fff;
    border: 2px solid #b9b9b9;
    border-radius: 5px;
}

.select2-container .select2-choice .select2-arrow {
	-webkit-appearance: none !important;  /*Removes default chrome and safari style*/
	-moz-appearance: none !important;  /*Removes default style Firefox*/
	border: 0 !important;
	background: transparent !important;
}

.select2-container .select2-choice .select2-arrow b,
#crm-container.crm-public select,
.select2-container .select2-choice abbr, 
.select2-search input, 
.select2-search-choice-close {
	-webkit-appearance: none !important;  /*Removes default chrome and safari style*/
	-moz-appearance: none !important;  /*Removes default style Firefox*/
	background: url('/sites/all/themes/ravsak/images/dropdown-caret.png') !important;
	background-repeat: no-repeat !important;
	background-position: right 15px center !important;		
}

.crm-public .select2-container .select2-choice .select2-arrow {
	width: 50px;
}

.select2-container.select2-allowclear .select2-choice abbr {
	display: none;
}

#crm-container label {
	padding: 0;
}

/*form typography*/

.crm-container .crm-marker {
	font-family: 'flamasemibold', sans-serif;
	color: #468ffe;
	font-weight: normal;
}

.crm-container table {
    font-size: 18px;
}
.event_info-group label {
    padding: 0 !important;
    margin: 0 !important;
    vertical-align: top;
    line-height: 130%;
}


#crm-container label,
.crm-container .crm-section .label, 
#crm-container.crm-public .label, 
#crm-container.crm-public .price-field-amount,
#crm-container.crm-public .price-set-row .crm-price-amount-amount,
#crm-container.crm-public .price-set-row .price-set-option-content {
	font-size: 18px;
	font-weight: normal;
	padding: 0;
	width: auto;
	text-align: left;
	margin-top: 5px;
}

#crm-container .description,
#crm-container p,
#crm-container.crm-public .calc-value, 
#crm-container.crm-public .content {
	font-size: 18px;
	color: #838383;
}

#crm-container fieldset legend,
.contribution_amount-section .label label {
    font-family: "flamasemibold", sans-serif;
    font-size: 24px !important;
    line-height: 1.5;
    text-transform: uppercase;
    color: #35393e;
    margin: 0 0 5px 0;
    background: transparent;
    padding: 0;
}

/*checkboxes*/

div.crm-container label {
    display: inline-block;
}

.payment_processor-section label,
div#editrow-custom_90 label {
    margin-right: 15px;
}

#crm-container.crm-public .calc-value, 
#crm-container.crm-public .content {
    padding: 0 !important;
    margin: 0;
    clear: both;
}

fieldset.crm-profile.crm-profile-id-38.crm-profile-name-In_Memory_Honor_Gift_Details_38 .crm-section {
    margin-top: 0 !important;
    padding-bottom: 0 !important
}

#crm-container.crm-public .price-set-row {
    display: block;
    margin-right: 15px;
}

#crm-container.crm-public .price-set-row input, 
#crm-container.crm-public .price-set-row label {
    margin: 0 5px 0 1px;
}

#crm-container input[type=radio], 
#crm-container input[type=checkbox] {
    vertical-align: middle;
    margin: -5px 5px 0 1px;
    padding: 0;
    display: inline-block;
}

span.crm-price-amount-amount {
    vertical-align: top;
}

@media screen and (min-width: 768px) {
	#crm-container.crm-public .price-set-row {
		float: left;
	}
}


/*buttons*/
.crm-container input.crm-form-submit,
.crm-container .crm-button {
    font-family: 'flamasemibold', sans-serif;
    border-radius: 3px;
    font-size: 18px;
    letter-spacing: 1px;
    text-shadow: none;
    text-transform: uppercase;
    background: #1692f9;
    border: 0 !important;
}

.crm-container input.crm-form-submit:hover,
.crm-container .crm-button:hover {
    background-color: #212E63;
    color: #fff;
}

.crm-container .crm-button-icon {
    display: none;
}

.crm-container .crm-button.crm-icon-button {
    padding: 10px 20px;
}

.crm-container .crm-button.crm-icon-button input {
    padding: 0;
    margin: 0;
}

.crm-container .crm-button:after {
    content: "\f178";
    font-family: 'fontawesome';
}

#crm-container.crm-public #crm-submit-buttons {
    margin: 0;
    display: inline-block;
    clear: both;
    overflow: hidden;
}

.crm-container .crm-submit-buttons, .crm-container .action-link {
    height: auto;
}

.intro_text-section,
.crm-public-form-item,
.crm-section.billing_mode-section.credit_card_info-section,
div#payment_information {
    margin-bottom: 5% !important;
}

.crm-public-form-item .payment_processor-section {
    margin-bottom: 0 !important;
}

fieldset.billing_name_address-group {
    padding: 0;
    margin: 0;
}

#crm-container input#cvv2 {
    max-width: 20%;
    vertical-align: middle;
}

.content.other_amount-content {
	max-width: 35%;
	vertical-align: middle;
}

select#credit_card_exp_date_M,
select#credit_card_exp_date_Y {
    max-width: 30% !important;
    display: block;
    float: left;
    margin-right: 10px !important;
}

#crm-container .crm-section .content.contribution_amount-content {
    margin-bottom: 10px;
}

#crm-container .crm-section .crm-section.other_amount-section {
    margin-bottom: 20px;
}

#crm-container .crm-section {
    margin: inherit;
}

.label {
    margin-bottom: 5px;
}

.crm-section.no-label._qf_Main_upload_express-section {
    margin: 20px 0 !important;
    overflow: hidden;
}

div#footer_text b {
    color: #3551a2;
}

.crm-form-select {
    box-sizing: border-box;
    width: 100% !important;
}

#crm-container.crm-public .crm-section, .crm-section {
    margin: 0;
    padding: 0;
}

/*portal*/

.text-center {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: left;
}
.current-mem-info {
    margin-bottom: 30px
}

.crm-profile-name-Membership_Signup_37 .cms_user_help-section {
	display:none;
}
/* Added for Leaders to Leaders event page - 08/18/2017 */
.crm-event-id-45 .cividiscount {
    display: none;
}