/* 
Theme Name:		 armboot
Theme URI:		 https://www.is-met.org
Description:	 armboot is a child theme of WP Bootstrap Starter, created by ChildTheme-Generator.com
Author:			 Timternet
Author URI:		 https://www.timternet.net
Template:		 wp-bootstrap-starter
Version:		 1.0.0
Text Domain:	 armboot
*/


/*
    Add your custom styles here
*/

/* global styles */

::-moz-selection,
::selection {
    text-shadow: none;
    background: #333;
    color: #fff;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover, body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
    color: #366d00;
	font-weight: 400;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color: #222;
    padding: 0.5rem;
    font-weight: 500;
	font-size: 1rem;
	letter-spacing: 0.7px;
    font-weight: 400;
}
body {
	background-color: #f7f7f7;
}

.panel-group {
	margin-top: 20px;
}


.dropdown-menu .dropdown-item {
    margin-bottom: 5px;
    min-width: 222px;
}

.wp-block-gallery ul li::before {
display: none;
}

.wp-block-table.is-style-stripes td, .wp-block-table.is-style-stripes th {
padding: 5px;
}


/* alert */

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}
.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

/* margin and cells homepage */

/* any other page */

#content .container {
	padding: 30px;
	background-color: #fff;
}

/* home page */
.home .wp-block-image {
    margin-bottom: 0em;
    margin-top: 0em;
}

.home h1.entry-title {
	display: none !important;
}

.home #content .container {
	background: none;
	padding-bottom: 0;
}

.home #content.site-content {
    padding-top: 2rem;
}

#content.site-content {
    padding-bottom: 0rem;

}

.front {
padding: 30px;
}

.white {
background-color: #fff;
}

.green {
color: #fff;
background-color: #366d00;
}

.green h2 {
color: #fff;
margin-bottom: 0em;
}

.grey {
background-color: none;
}

.centertxt, .centertxt h2 {
	text-align: center;
}
.centertxt p {
	width: 100%; margin: 0 auto; max-width: 800px; display: block; margin-bottom: 20px;
}

/* img and text next to */


.wp-block-media-text {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    -ms-grid-columns: 20% 1fr;
    grid-template-columns: 20% 1fr;
	margin-bottom: 20px;
}
.wp-block-media-text .wp-block-media-text__content {
    word-break: break-word;
    padding: 0 0 0 40px;
}

.wp-block-media-text .wp-block-media-text__media {
    -ms-grid-row-align: normal;
    align-self: normal;
	margin-top: 8px;
}

/* awards section */

.post-257 .wp-block-media-text {
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    -ms-grid-columns: 12% 1fr;
    grid-template-columns: 12% 1fr;
	margin-bottom: 20px;
}
.post-257 .wp-block-media-text .wp-block-media-text__media {
    max-width: 120px;
    margin: auto;
    margin-top: 23px;
    margin-bottom: -23px;
}


/* tables */

.historytable {
	font-size:0.9em;
}


/* twitter */

#ctf {
    padding: 0px;
    margin: 0em 0;
}
#ctf .ctf-item {
    padding: 10px 0px;
}
#ctf .ctf-header-user, #ctf .ctf-header-user:hover {
	color: #000;
}
#ctf #ctf-more {
	display: none;
}

#ctf .ctf-retweet-icon {
    background: #366d00;
}
#ctf .ctf-header .ctf-header-follow {
    background: #366d00;
}
#ctf .ctf-verified, #ctf .ctf-quoted-verified {
    color: #366d00;
}

#ctf .ctf-tweets {
	font-size: 0.8em;
}
/* subscription form */

#mc_embed_signup{clear:left; width:100%;}
#mce-EMAIL, #mc-embedded-subscribe {width: 100%; margin: 0 auto; max-width: 400px; display: block; border: none; text-align: center; padding:5px; transition: .2s;}
#mc-embedded-subscribe:hover {
background-color: #333;
color: #fff;
transition: .2s;
}
#mc-embedded-subscribe {margin-top: 10px;}

/* persistent sidebar fix */

.col-lg-8 {

    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;

}
.entry-content {
    margin: 0em 0 0;
}

h1.entry-title {
    border-bottom: 0px solid #eaecef;
	text-align: left;
	display: block !important;
	color: #000;
}



body {
    font-size: 1.1rem;
    line-height: 1.7;
	color: #464c53;
}


header#masthead {
    background-color: #333;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

#content a{
  color: #000;
}

#content a:hover  {
}

#content p a{
  color: #000;
  text-shadow: -3px 0 white, 0 3px white, 3px 0 white, 0 -3px white;
  background:
     linear-gradient(
       to bottom, #000 0%,
       #000 100%
     );
    background-position: 1px 100%;
    background-repeat: repeat-x;
    background-size: 1px 1px;
  text-decoration: none;
  transition: .2s;
}

#content p a:hover  {
  color: #366d00;
  background:
     linear-gradient(
       to bottom, #366d00 0%,
       #366d00 100%
     );
    background-position: 1px 100%;
    background-repeat: repeat-x;
    background-size: 1px 1px;
  text-decoration: none;
  transition: .2s;
}

#content .ctf-tweets p a{
  text-shadow: 0px 0 white, 0 0px white, 0px 0 white, 0 0px white;
  background-size: 0px 0px;
}

.blocks-gallery-caption {
	 font-style: italic;
	 text-align: center;
}

.post-navigation {
	display: none;
}

.dropdown-item.active, .dropdown-item:active {
    color: #366d00;
    text-decoration: none;
    background-color: #007bff;
}

.entry-content .rcp_form ul li::before {
display: none !important;
}

p.rcp_error {
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    border: 1px solid #c00;
	margin: 0 0 10px;
	padding: 4px;
	background:#fff !important;
	color:#333;
}
blockquote {
    padding: 1em 1em 1rem 1em;
    background-color: #f7f7f7;
	margin: 1em 0;
	border-left: 4px solid#366d00;
	font-size: 1.25rem;
	font-weight: 600;
	font-style: italic;
}

#content .wp-block-quote p a {
    text-shadow: -3px 0 #f7f7f7;, 0 3px #f7f7f7;, 3px 0 #f7f7f7;, 0 -3px #f7f7f7;;
    background: linear-gradient( to bottom, #f7f7f7; 0%, #f7f7f7; 100% );
}


.wp-block-quote {
	position: relative;
}

.wp-block-quote cite {
    font-size: 0.6em;
    font-weight: 700;
    float: right;
	margin-right: -2em;
}
.wp-block-quote cite:before {
      content: '\2015';  
	  margin-right: 10px;
}
.wp-block-quote cite::after {
    content: '\201D';
    position: absolute;
    top: -0.3em;
right: 12px;
    font-size: 6em;
    font-style: italic;
    z-index: 1;
    font-family: initial;
}
.wp-block-quote p {
    margin-top: 0;
    margin-bottom: 0rem;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(256, 256, 256, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

h1, h2, h3, h4, h5, h6 {
color: #464c53;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
	margin-top: 1rem;

}
.home h2 {
	margin-top: 0px;
	margin-bottom: 0em;
}
figcaption {
	font-style: italic;
	text-align: center;
}
h1.entry-title {
color: #366d00;
font-size: 2.2rem;
font-weight: 600;
}
h2 {
border-bottom: 0px solid #dbe0e3;
margin-bottom: 0.5em;
text-align: left;
}
/*
h2:nth-of-type(1) {
margin-top: 1.2em;
} 
*/
.h2, h2 {
    font-size: 1.75rem;
}
.h3, h3 {
    color: #366d00;
	font-size: 1.6rem;
}
.h4, h4 {
	font-size: 1.3rem;
}

.admin-bar #masthead nav {
    margin-top: 32px;
}
.navbar {
    background-color: #fff;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.10);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.10);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.10);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-light .navbar-toggler {
border-color:rgba(0,0,0,0);
}

#masthead nav {
	padding: .25rem .5rem;
}

.wp-block-video video {
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
	width: 100%;
}

a.page-scroller {
color: #366d00;
}
a.page-scroller:hover {
color: #000;
}

.wp-block-embed-youtube, .wp-block-gallery  {
	margin-top: 1.8em;
}


.site-info {
	text-align: center;
}

/* banner */
#page-sub-header h1 {
    font-weight: 600;
    line-height: 1.1;
}
#page-sub-header h3 {
margin-top: 20px;
}
#page-sub-header .btn {
font-size: 1.3rem;
}
body:not(.theme-preset-active) #page-sub-header h1 {
    color:  #373737;
	font-size: 1.7em;
	padding: 20px 0 20px;
}
#page-sub-header p {
    line-height: 1.7;
    font-size: 1.3rem;
	max-width: 100%;
}
#page-sub-header {
	padding-bottom: 0px;
}
#page-sub-header .btn-primary {
	margin-top: 30px;
	margin-bottom: 0px;
}


/* colors and buttons */

.lastnews a {
	font-size: 1.3em;
	font-weight: 600;
}

.wp-block-file .wp-block-file__button {
    background: #366d00;
    border-radius: 0em;
    color: #fff !important;
    font-size: 13px;
    padding: .5em 1em;
}
.page-id-316 .wp-block-file, .post-564 .wp-block-file {
border-bottom: 1px dotted #ccc;
font-size: 1.2em;
padding-bottom: 5px;
}
.page-id-316 .wp-block-file__button, .post-564 .wp-block-file__button {
    float: right;
}

.post-70 input, .post-379 input.required {
    width: 100%;
}

.archive .wp-block-button__link {
    background-color: #333;
}

#page-sub-header {
    background: #f7f7f7 !important;
}
.wp-block-button__link {
	width: 100%;
}

.btn-primary {
color: #fff;
background-color: #366d00;
border-color: #366d00;
}
.btn-primary:hover {
color: #fff;
background-color:#2b4a0d;
border-color:#2b4a0d;
}
.btn-primary {
color: #fff;
background-color: #366d00;
border-color: #366d00;
}
.btn.btn-primary:focus {
  background-color: #366d00;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
color: #fff;
background-color:#48840d;
border-color:#48840d;
}

.wp-block-button__link {
    background-color: #366d00;
	 color: #fff !important;
	 border-radius: 0px;
    -moz-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}
.wp-block-button__link:hover {
    background-color: #464c53;
	text-decoration: none;
}

.pt-cv-title a {
    line-height: 1.2em;
}

.pt-cv-wrapper .btn-success {
    background-color: #366d00;
    border-color: #366d00;
	 color: #fff !important;
	 border-radius: 0px;
    -moz-transition: all 0.2s ease-in;
    -webkit-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.pt-cv-wrapper .btn-success:hover {
color: #fff;
background-color:#2b4a0d;
border-color:#2b4a0d;
}
.pt-cv-wrapper .btn-success.focus, .pt-cv-wrapper .btn-success:focus {
background-color:#48840d;
border-color:#48840d;
color: #fff;
}

.btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active, .show > .btn-success.dropdown-toggle {
    color: #fff;
    background-color: #48840d;
border-color:#48840d;
}

.btn {
    border-radius: 0rem;
	padding: 0.5rem 1rem;
}


/* primary section */

input[type="submit"] {
    display: block;
    margin: 0 auto;
}



#primary {

}
.wp-block-image {
    max-width: 100%;
	margin-bottom: 2em;
    margin-top: 1.5em;
}

.wp-block-image img, .wp-block-image.is-resized img {
	display: block;
    margin-left: auto;
    margin-right: auto;
}

/* form specific styles*/

.message {
    border-left: 4px solid #366d00;
	padding: 12px;
	margin-left: 0;
	margin-bottom: 20px;
	background-color: #f7f7f7;
	box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}

#rcp_login_form input[type=text],
#rcp_login_form input[type=password],
#rcp_registration_form input[type=text],
#rcp_registration_form input[type=password] {

	background-color: #fff;
	width: 100%;
	padding: 9px;
	border: 1px solid #404040;
}


/* Restrict Content Pro - text and password form fields (focused) */

#rcp_login_form input[type=text]:focus,
#rcp_login_form input[type=password]:focus,
#rcp_registration_form input[type=text]:focus,
#rcp_registration_form input[type=password] {

	background-color: #fff;
}

#rcp_registration_form {
    padding: 0px !important;
}


#rcp_login_form .rcp-button, #rcp_registration_form .rcp-button {
background-color: #eee;
border: 1px solid #ddd;
color:#333;
font-size: 1em;
padding: 10px 15px;
}

/* contact form */

div.wpforms-container-full .wpforms-form input.wpforms-field-medium, div.wpforms-container-full .wpforms-form select.wpforms-field-medium, div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium {
    max-width: 100%;
}

/* Form loading color */

.blockUI.blockOverlay {
	background-color: #fff !important;
	opacity: 0.5 !important;
}

/* page specific styles*/

.page-id-30 .entry-title {
	display: none !important;
}

.container {
    max-width: 1200px;
}


.navbar-brand a img {
	max-width: 150px;
}



.site-info input{ 
max-width: 200px;
width: 100%;
} 

#content.site-content {
    padding-top: 5rem;
}

/* cookie banner */

.cli-plugin-main-link {
    margin-left: 0px;
    font-weight: 300;
    text-decoration: none;
}


/* voting CSS */
.page-id-883.logged-in .rcp_logged_in {
	display: none;
}
.page-id-883 .entry-content ul li::before {
	display: none;
}
.basic-vote .basic-vote-button {
    padding: 11px 24px !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}
.basic-yop-poll-container .basic-inner {
    padding: 10px 10px;
    border: 2px solid #333;
    margin-top: 30px;
    padding: 30px;
}


@media only screen and (max-width: 500px) {
.wp-block-gallery .blocks-gallery-item {
    width: 100%;
}
.wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
    margin: 0 0px 16px 0;
}
.navbar-brand a img {
	max-width: 100px;
	width: 100%;
}
.navbar-brand {
    white-space: nowrap;
    width: calc(100% - 41px);
	margin-right: 0rem;
}
#content .container {
	padding: 15px;
}
.front {
padding: 15px;
}
}

@media only screen and (max-width: 782px) {
.admin-bar #masthead nav {
    margin-top: 46px;
}
.navbar-brand a img {
	max-width: 150px;
}
}

@media only screen and (max-width: 1210px) {
#content.site-content {
    padding-top: 48px;
}
}


@media only screen and (max-width: 600px) {
.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    word-break: break-word;
    padding: 20px 0 0px 0px;
} 
}



/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	.wp-block-table.is-style-stripes table, .wp-block-table.is-style-stripes thead, .wp-block-table.is-style-stripes tbody, .wp-block-table.is-style-stripes th, .wp-block-table.is-style-stripes td, .wp-block-table.is-style-stripes tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	.wp-block-table.is-style-stripes thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	.wp-block-table.is-style-stripes tr { border: 0px solid #ccc; }

	.wp-block-table.is-style-stripes td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding: none;
		padding-left: 50% !important; 
		text-align: left;
	}
	
	.wp-block-table.is-style-stripes td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		left: 6px;
		width: 35%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	.wp-block-table.is-style-stripes td, .wp-block-table.is-style-stripes th {

    border-color: #eee; 

	}
	
	/*
	Label the data
	*/
	.historytable td:nth-of-type(1):before { content: "Year"; }
	.historytable td:nth-of-type(2):before { content: "President"; }
	.historytable td:nth-of-type(3):before { content: "President Elect"; }
	.historytable td:nth-of-type(4):before { content: "North America"; }
	.historytable td:nth-of-type(5):before { content: "Europe"; }
	.historytable td:nth-of-type(6):before { content: "Asia-Pacific"; }
	/*
	Label the data
	*/
	.pastconftable td:nth-of-type(1):before { content: "Conference"; }
	.pastconftable td:nth-of-type(2):before { content: "Date"; }
	.pastconftable td:nth-of-type(3):before { content: "Location"; }
	.pastconftable td:nth-of-type(4):before { content: "Link"; }
}
