@charset "UTF-8";
/*
	Theme Name: OP Trebic
	Theme URI: http://www.optrebic.cz
	Description: HTML5 WordPress Theme
	Version: 1.1
	Author: Daniel Valčík 
	Author URI: http://www.relative.cz
	Tags: HTML5, CSS3
	
	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

.reference * {
	font-style: italic !important;
	font-weight: normal !important;
}

body {
	font: 16px/2.1 Verdana, Arial, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0;
	padding: 0;
	color: #777;
}
@media(min-width: 992px) {
	body {
		font: 14px/1.8 Verdana, Arial, Helvetica, sans-serif;
	}
}

ul, ol, dl {
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;	
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Open Sans Condensed', sans-serif;
	color: #22629c;
	font-weight:700;
	}
h1 {
	font-size: 1.71428571429rem;
	padding-bottom: 30px;
	margin-bottom: 20px;
	text-transform:uppercase;
	line-height: 1.2;
	border-bottom: 5px solid #f1cd51;
	}
h2 {
	font-size: 1.28571428571rem;
	line-height: 1.2;
	padding-bottom: 10px;
	padding-top: 20px;
	margin-bottom: 10px;
	border-bottom: 2px solid #f1cd51;
}
a {
	font-size: 1rem;
}
a img { 
	border: none;
}
a:link {
	color: #22629c;
	text-decoration: underline; 
}
a:visited {
	color: #22629c;
	text-decoration: underline;
}
a:hover, a:active, a:focus {
	color: #900;
}
.rounted {
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	/*behavior: url(/PIE.htc);*/
}
.navbar {
	/*-ms-flex-pack: end !important;
    justify-content: flex-end !important;*/
}
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 1rem;
}
.navbar .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,<svg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'><path stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}
.navbar .navbar-toggler {
    color: #fff;
    border-color: #fff;
}
.navbar ul a {
	text-decoration: none;
	font-family: 'Open Sans Condensed', sans-serif;
	text-transform: uppercase;
	color: #fff;
}
.navbar ul a:hover {
	color: #900;
}
.navbar-collapse {
	padding-top: 20px;
}

@media(min-width: 992px) {
	.navbar-collapse > ul {
		background-color: #fff;
		-webkit-border-radius: 20px;
		-moz-border-radius: 20px;
		border-radius: 20px;
		/*behavior: url(/PIE.htc);*/
		border: 1px solid #000;
		background-color: #fff;
		height: 30px;
		width: auto;
		padding-left: 10px;
		z-index: 200;
	}
	.navbar ul a {
		position: relative;
		display: block;
		width: auto;
		height: 100%;
		text-decoration: none;
		font-family: 'Open Sans Condensed', sans-serif;
		text-transform: uppercase;
		color: #22629c;
		padding-left: 10px !important;
		padding-right: 30px !important;
		padding-top: 1px !important;
		padding-bottom: 0 !important;
	}
}

.navbar ul a::after {
	position: absolute;
	top: 0;
	right: 0;
    width: 30px;
    height: 100%;
    display: inline-block;
    content: "";
    border-top: 0 none transparent !important;
    border-right: 0 none transparent !important;
    border-bottom: 0 none transparent !important;
    border-left: 0 none transparent !important;
	border: 0 none transparent !important;
    background: none;
    background-image: url(img/arrow-y.png);
    background-repeat: no-repeat;
    background-position: left center;
}
nav.navbar-toggler {
	padding-top: 40px;
	padding-right: 0px;
}

/*
.container {
	width: 960px;
	margin: 0 auto; 
}
*/

body > header {
	background-color: #849fd6;
	background-image: url(img/optrebic-main.jpg);
	background-position: 40% bottom;
	background-repeat: no-repeat;
	min-height: 360px;
	padding-bottom: 140px;
}
@media(min-width: 576px) {
	body > header {
		background-position: 56% bottom;
	}
}
@media(min-width: 768px) {
	body > header {
		background-position: center bottom;
	}
}
@media(min-width: 992px) {
	body > header {
		min-height: 230px;
		padding-bottom: 30px;
	}
	body > header img#op-logo {
		padding-top: 20px;
	}
}
.mainbanner {
	background-position: top center;
	}
input.search, input.search:focus {
	width: 210px;
	padding: 10px;
	border: 1px solid #ccc;
}
#searchform {
	margin-bottom: 10px;
}
.animate {
	background-position: right center;
	background-image:url(img/search.png);
	background-repeat:no-repeat;
	}
/*.mainbanner p {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 24px;
	color: #fff;
	text-transform: uppercase;
	padding: 15px;
	}*/
/* ~~ hlavní menu ~~ */

.mainmenu {
	padding: 40px 20px 20px 20px;
	}
 .mainmenu ul li {
	float:left;
	width: auto;
	list-style: none;
	margin:0;
	padding:0;
	background:none;
	position:relative;
	}
.mainmenu ul {
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	/*behavior: url(/PIE.htc);*/
	border: 1px solid #000;
	background-color: #fff;
	height: 30px;
	width: auto;
	float: right;
	padding-left: 10px;
	z-index: 200;
	}
#menu-mainmenu .dropdown-menu {
	border: 0px none transparent;
	background-color: transparent;
	padding-left: 0;
}
@media(min-width: 992px) {
	#menu-mainmenu .dropdown-menu {
		-webkit-border-radius: 20px;
		-moz-border-radius: 20px;
		border-radius: 20px;
		/*behavior: url(/PIE.htc);*/
		border: 1px solid #000;
		background-color: #fff;
		padding-left: 10px;
	}
}
#menu-mainmenu li:last-child ul.dropdown-menu {
	left: auto !important;
	right: 0;
}
.mainmenu ul li a {
	font-size: 1rem;
	z-index: 999;
	display: block;
	width:auto;
	padding: 3px 30px 3px 10px;
	text-decoration: none;
	font-family: 'Open Sans Condensed', sans-serif;
	text-transform:uppercase;
	background:none;
	background-image:url(img/arrow-y.png);
	background-repeat:no-repeat;
	background-position: right center;
	}
.mainmenu ul li a:hover {
	background-image: url(img/arrow-b.png);
	color: #22629c;
	}
.mainmenu ul li ul.sub-menu {
	display:none;
	text-align: left;
	}
.mainmenu ul li:hover ul.sub-menu {
	display:block
	}
ul.sub-menu {
	width:200px;
	position:absolute;
	height:auto;
	}
ul.sub-menu li {
	float:none;
	display:block;
	}
#menu-mainmenu li ul.sub-menu li ul {
	position:absolute;
	left: 200px;
	top: 0px;
	background-color: #fff;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	display:none;
	}
#menu-mainmenu li ul.sub-menu li:hover ul,
#menu-mainmenu li ul.sub-menu li:active ul,
#menu-mainmenu li ul.sub-menu li:focus ul {
	display:block;
	}   
.current-menu-item > a {
	color: #900;
}
#menu-mainmenu li:last-child ul.sub-menu {
  left: auto;
  right: 0;
}
.sidebar1 {
	padding-top: 40px;
	padding-bottom: 10px;
}
ul.nav {
	list-style: none; 
	margin-bottom: 15px; 
}
ul.nav li {
	overflow: hidden;
	margin-bottom: 10px;
}
#menu-sidebar-top .menu-item,
#menu-sidebar-top-2 .menu-item,
#menu-sidebar .menu-item,
.widget_sub_categories ul  {
	list-style:none;
	}
.content-nav .nav-link,
.content-nav .dropdown-item,
ul.nav a, ul.nav a:visited,
a.more-link,
#admin-link,
.widget_sub_categories ul li a,
.widget_sub_categories h2 { 
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	/*behavior: url(/PIE.htc);*/
	background-color: #22629c;
	background-image: url(img/arrow-y.png);
	background-position: right center;
	background-repeat:no-repeat;
	font-family: 'Open Sans Condensed', sans-serif;
	border:none;
	color: #fff;
	padding: 3px 5px 2px 20px;
	margin: 0px;
	display: block;  
	text-decoration: none;
	margin-bottom: 10px;
	font-size: 1rem;
	font-weight: normal;
}
@media(max-width: 991px) {
	.content-nav .dropdown-menu .dropdown-item {
		border: 1px solid #22629c;
		background-color: #fff;
		color: #22629c;
	}
	.navbar-nav > .dropdown.menu-item > .dropdown-menu > li > .dropdown-item {
		padding: .25rem .75rem;
	}
	.navbar-nav > .dropdown.menu-item > .dropdown-menu > .dropdown-item > .dropdown.menu-item > .dropdown-item {
		padding: .25rem 1.5rem;
	}
}
.content-nav .dropdown-item {
	margin-bottom: 5px;
}
.content-nav .dropdown-menu {
	border: 0 none transparent;
}
.dropdown-toggle::after {
	display: none;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus,
#menu-sidebar-top .menu-item a:hover,
#menu-sidebar-top-2 .menu-item a:hover,
#menu-sidebar .menu-item a:hover,
#menu-sidebar .menu-item a:active,
#menu-sidebar .menu-item a:focus, 
a.more-link:hover,
.widget_sub_categories ul li a:hover,
.widget_sub_categories ul li a:active,
.widget_sub_categories ul li a:focus { 
	background-color: #f1cd51;
	background-image: url(img/arrow-b.png);
	color: #22629c;
}
/*#menu-sidebar li ul.sub-menu,*/
.widget_sub_categories ul {
	position:relative;
	right: 210px;
	bottom: 45px;
	margin-bottom: -55px;
	height: 45px;
	display:none;
	}
/*#menu-sidebar li ul.sub-menu li,*/
.widget_sub_categories ul li {
	dispaly: absolute;
	margin:0;
	padding:0;
	border-right: 5px solid #fff;
	border-bottom: 5px solid #fff;
	}
#menu-sidebar-top li ul.sub-menu li a,
#menu-sidebar-top-2 li ul.sub-menu li a,
#menu-sidebar li ul.sub-menu li a,
.widget_sub_categories ul li a {
	margin:0;
	}
#menu-sidebar-top li:hover ul.sub-menu,
#menu-sidebar-top li:active ul.sub-menu,
#menu-sidebar-top li:focus ul.sub-menu,
#menu-sidebar-top-2 li:hover ul.sub-menu,
#menu-sidebar-top-2 li:active ul.sub-menu,
#menu-sidebar-top-2 li:focus ul.sub-menu,
#menu-sidebar li:hover ul.sub-menu,
#menu-sidebar li:active ul.sub-menu,
#menu-sidebar li:focus ul.sub-menu,
.widget_sub_categories:hover ul,
.widget_sub_categories:active ul,
.widget_sub_categories:focus ul {
	display:block;
	}
#menu-sidebar-top li ul:hover,
#menu-sidebar-top-2 li ul:hover,
#menu-sidebar li ul:hover {
	display:block
}
#menu-sidebar-top .menu-item a,
#menu-sidebar-top-2 .menu-item a,
#menu-sidebar .menu-item a,
.widget_sub_categories h2,
#sub_categories_widget-2 ul li a {
	background-position: left center;
	background-image: url(img/arrow-la.png);
	padding: 3px 10px 3px 30px;
}
.widget_sub_categories h2 {
	padding-left: 30px !important;
	}
#menu-sidebar-top .menu-item a:hover,
#menu-sidebar-top-2 .menu-item a:hover,
#menu-sidebar .menu-item a:hover,
#sub_categories_widget-2 ul li a:hover {
	background-image: url(img/arrow-lb.png);
	}
/* ~~ obsah ~~ */
.content {
	padding-top: 40px;
	padding-bottom: 10px;
}
section {
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px dashed #ddd;
	}
#address {
	font-style: normal;
	background-color: #f1cd51;
	padding: 20px 10px;
}
address {
	border-left: 1px solid #fff;
}
address p img {
	padding: 0 30px;
}	
address a {
	font-size: 1.28571428571rem;
	font-family: 'Open Sans Condensed', sans-serif;
}

a.more-link {
	display: block;
	background-color:#fff;
	color:#f1cd51;
	border: 1px solid #f1cd51;
	margin-top: 25px;
	margin-bottom: 50px;
	padding-right: 25px;
	max-width: 100px;
}
/* ~~ Zápatí ~~ */
footer {
	position: relative;
	clear: both; 
}
footer .loga img {
	margin: 10px 0 0;
}
@media(min-width: 576px) {
	footer .loga img {
		margin: 10px 20px 0 0;
	}	
}

header, section, footer, aside, article, figure {
	display: block;
}
/* ~~ clear ~~ */
.clear {
	clear:both;
	}
.widget {
	list-style:none;
	margin-bottom: 10px;
	}
.wp-polls-form p input {
	padding: 10px 30px;
	}
.wp-polls-form p input:hover {
	border: 1px solid red;
	}
	
/* ~~ Formulář ~~ */
#cntctfrm_contact_form input, 
#cntctfrm_contact_message,
#form23 input,
#form23 textarea,
#form23 button
 {
	webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	display:block;
	padding: 10px;
	border: 1px solid #f1cd51;
	}
#form23 button {
	margin: 10px;
	float:left;
	border:none;
	background-color:#22629c;
	font-family: 'Open Sans Condensed', sans-serif;
	color:#fff;
	}
	
/*#cntctfrm_contact_form input:after,
#cntctfrm_contact_message:after {
content: " (" class(rounded) ")";
}*/

/* ~~ Widgety ~~ */
div.sidebar1 .widgettitle {
	-webkit-border-top-left-radius: 15px;
	-webkit-border-top-right-radius: 15px;
	-moz-border-radius-topleft: 15px;
	-moz-border-radius-topright: 15px;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	background-color: #22629c;
	color: #fff;
	padding: 10px 20px;
	}
.wp-polls,
.widget-fb {
	border: 1px solid #f1cd51;
	padding: 10px;
	margin-top: -10px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	}
#admin-link {
	color: #fff;
	background-color: fff;
	background:none;
	}
ul.dropdown-menu {
	margin: 0;
}
.content-nav ul.dropdown-menu {
	position: static !important;
	top: 0;
	left: auto !important;
	transform: none !important;
	right: 100%;
	padding: 0;
	padding-right: 10px;
	margin: 0;
}

@media(min-width: 992px) {
	.content-nav ul.dropdown-menu {
		position: absolute !important;
	}
	li:hover > ul.dropdown-menu, li:focus > ul.dropdown-menu{
		display: block;
		position: absolute;
	}
}
ul.dropdown-menu li > ul.dropdown-menu{
	left: 100%;
	top: -.5rem;
}
ul.dropdown-menu li:hover > ul.dropdown-menu, ul.dropdown-menu li:focus > ul.dropdown-menu{
	display: block
}

.content a[href$='.bmp'],
.content a[href$='.csv'],
.content a[href$='.doc'],
.content a[href$='.docx'],
.content a[href$='.dotx'],
.content a[href$='.jpg'],
.content a[href$='.odf'],
.content a[href$='.ods'],
.content a[href$='.odt'],
.content a[href$='.otp'],
.content a[href$='.ots'],
.content a[href$='.ott'],
.content a[href$='.pdf'],
.content a[href$='.png'],
.content a[href$='.ppt'],
.content a[href$='.pptx'],
.content a[href$='.rar'],
.content a[href$='.rtf'],
.content a[href$='.tgz'],
.content a[href$='.xls'],
.content a[href$='.xlsx'],
.content a[href$='.zip'] {
	display: inline-block;
	position: relative;
	padding-left: 26px !important;
	min-height: 20px;
	line-height: 20px;
}

.content a[href$='.bmp']::before,
.content a[href$='.csv']::before,
.content a[href$='.doc']::before,
.content a[href$='.docx']::before,
.content a[href$='.dotx']::before,
.content a[href$='.jpg']::before,
.content a[href$='.odf']::before,
.content a[href$='.ods']::before,
.content a[href$='.odt']::before,
.content a[href$='.otp']::before,
.content a[href$='.ots']::before,
.content a[href$='.ott']::before,
.content a[href$='.pdf']::before,
.content a[href$='.png']::before,
.content a[href$='.ppt']::before,
.content a[href$='.pptx']::before,
.content a[href$='.rar']::before,
.content a[href$='.rtf']::before,
.content a[href$='.tgz']::before,
.content a[href$='.xls']::before,
.content a[href$='.xlsx']::before,
.content a[href$='.zip']::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	background-size: cover;
	background-position: center;
}
.content li[id^="wpfb-file"] a::before {
	display: none;
}
.content li[id^="wpfb-file"] a {
	display: inline;
	position: relative;
	padding-left: 0 !important;
	min-height: inherit;
	line-height: inherit;
}

.content a[href$='.bmp']::before {
	background-image: url(./img/icons/32px/bmp.png);
}
.content a[href$='.csv']::before {
	background-image: url(./img/icons/32px/csv.png);
}
.content a[href$='.doc']::before {
	background-image: url(./img/icons/32px/doc.png);
}
.content a[href$='.docx']::before {
	background-image: url(./img/icons/32px/doc.png);
}
.content a[href$='.dotx']::before {
	background-image: url(./img/icons/32px/dotx.png);
}
.content a[href$='.jpg']::before {
	background-image: url(./img/icons/32px/jpg.png);
}
.content a[href$='.odf']::before {
	background-image: url(./img/icons/32px/odf.png);
}
.content a[href$='.ods']::before {
	background-image: url(./img/icons/32px/ods.png);
}
.content a[href$='.odt']::before {
	background-image: url(./img/icons/32px/odt.png);
}
.content a[href$='.otp']::before {
	background-image: url(./img/icons/32px/otp.png);
}
.content a[href$='.ots']::before {
	background-image: url(./img/icons/32px/ots.png);
}
.content a[href$='.ott']::before {
	background-image: url(./img/icons/32px/ott.png);
}
.content a[href$='.pdf']::before {
	background-image: url(./img/icons/32px/pdf.png);
}
.content a[href$='.png']::before {
	background-image: url(./img/icons/32px/png.png);
}
.content a[href$='.ppt']::before {
	background-image: url(./img/icons/32px/ppt.png);
}
.content a[href$='.pptx']::before {
	background-image: url(./img/icons/32px/ppt.png);
}
.content a[href$='.rar']::before {
	background-image: url(./img/icons/32px/rar.png);
}
.content a[href$='.rtf']::before {
	background-image: url(./img/icons/32px/rtf.png);
}
.content a[href$='.tgz']::before {
	background-image: url(./img/icons/32px/tgz.png);
}
.content a[href$='.xls']::before {
	background-image: url(./img/icons/32px/xls.png);
}
.content a[href$='.xlsx']::before {
	background-image: url(./img/icons/32px/xlsx.png);
}
.content a[href$='.zip']::before {
	background-image: url(./img/icons/32px/zip.png);
}

.dropdown-item:focus, .dropdown-item:hover {
	color: #900;
	background-color: transparent;
}

.modal > .prev,
.modal > .next,
.modal > .close {
	position: absolute;
	text-decoration: none;
	color: #000;
	background-color: #fff;
	border-radius: 5px;
	padding: 10px;
	margin: 10px;
	font-size: 2.14285714286rem;
	line-height: 30px;
	width: 50px;
	height: 50px;
	text-align: center;
	vertical-align: middle;
	z-index: 10000;
	border: 0;
	-webkit-appearance: none;
	text-shadow: 0 0 0 transparent;
}
.modal > .close,
.modal > .close:active,
.modal > .close:hover,
.modal > .close:focus,
.modal > .close:not(:disabled):not(.disabled):focus,
.modal > .close:not(:disabled):not(.disabled):hover {
	opacity: 1;
}
.modal > .prev,
.modal > .next {
	top: 50%;
	transform: translateY(-50%);
}
.modal > .prev {
	left: 0;
}
.modal > .next {
	right: 0;
}
.modal > .close {
	top: 0;
	right: 0;
}

.gallery-modal > .modal-dialog {
	max-width: 100% !important;
	margin: 0 auto;
}
@media(min-width: 576px) {
	.gallery-modal > .modal-dialog {
		max-width: 85% !important;
	}
}
.gallery-modal > .modal-dialog .modal-content {
	background-color: transparent;
	border: 0px none transparent;
    border-radius: 0;
}
.gallery-modal > .modal-dialog,
.gallery-modal > .modal-dialog .modal-content,
.gallery-modal > .modal-dialog .modal-content .slides {
	max-height: 100%;
}

input.search,
.facebook > img {
	width: 35px;
	height: 35px;
}

.logo {
	max-width: 100%;
	height: auto;
}

@media(min-width: 992px) {
	.content ul:not(.list-unstyled), .content ol:not(.list-unstyled) {
		padding: 0 15px 15px 40px;
	}
}

.embed-responsive-variable > .embed-responsive-item {
	height: auto;
	top: 50%;
	transform: translateY(-50%);
}
.embed-responsive-h-100,
.embed-responsive-h-100:before {
	max-height: 100%;
}
.embed-responsive-h-100 > .embed-responsive-item {
	height: 100%;
	width: auto;
	left: 50%;
	transform: translateX(-50%);
}
@media(max-width: 575px) {
	.embed-responsive-h-100 {
		height: 100%;
	}
	.embed-responsive-h-100:before {
		display: none;
	}
	.embed-responsive-h-100 > .embed-responsive-item {
		height: auto;
		max-width: 100%;
		top: 50%;
		transform: translateY(-50%);
		left: 0;
	}
}

.btn-menu-link {
	display: block;
	width: 100%;
	-webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background-color: #22629c;
    background-position: right center;
    background-repeat: no-repeat;
    font-family: 'Open Sans Condensed', sans-serif;
    border: none;
    color: #fff;
    text-transform: uppercase;
    padding: 3px 5px 2px 5px;
    margin: 0px;
    display: block;
    text-decoration: none;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: normal
}
.accordion .card:last-of-type {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.accordion .card:first-of-type {
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.card {
    background-color: transparent;
    border: 0px none transparent;
    border-radius: 0;
}
.card-header {
    padding: 0;
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: 0px none transparent;
}
.page-link {
	font-size: 1rem;
}




/**************************\
  Basic Modal Styles
\**************************/

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__container {
  background-color: #fff;
  padding: 30px;
  max-width: 90vw;
  max-height: 100vh;
  border-radius: 4px;
  overflow-y: auto;
  box-sizing: border-box;
}

@media (min-width: 992px) {
	.modal__container {
	  max-width: 800px;
	}
}

@media (min-width: 1200px) {
	.modal__container {
	  max-width: 1000px;
	}
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #00449e;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
}

.modal__header .modal__close:before { content: "\2715"; }

.modal__content {
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: rgba(0,0,0,.8);
}

.modal__content img {
	max-width: 100%;
	height: auto;
}

.modal__btn {
  font-size: .875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background-color: #e6e6e6;
  color: rgba(0,0,0,.8);
  border-radius: .25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform .25s ease-out;
  transition: transform .25s ease-out;
  transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal__btn:focus, .modal__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.modal__btn-primary {
  background-color: #00449e;
  color: #fff;
}



/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}