/*
Theme Name: Ctconnect AuthSite Theme
Theme URI: http://ctconnect.co
Author: Orijinn for Ctconnect
Author URI: https://orijinn.net/
Description: 
Version: 1.0
Text Domain: ctcon
*/

@import url("./bootstrap/css/bootstrap.min.css");
@import url("./css/ctconnect.css?x=1.2");
@import url("./css/ctconnectGn.css?x=1.2");

/******************** common ********************/
html{
	font-size:100%; 
	height: 100%;
}
body {
	direction: rtl;
	unicode-bidi: embed;
	font-family: Arial;
	font-size: 1em;
	position: relative;
	min-height: 100%;
	padding-bottom: 50px;
}

@media (min-width: 54.857em) {
	.container {
		width: 1000px;
	}
}
 @media (max-width: 768px) {
	body {
		width: 100%;
		overflow-x: hidden;
	}
 }

.ctcSeparator {
	clear: both;
	margin: 0 0 1.5em;
	width: 100%;
	height: 1px;
}

.blueTitle, .greenTitle {
	display: inline-block;
	font-size: 1.4em;
	line-height: 1.35em;
	padding: 0 0.5em;
	margin-bottom: 0;
}

.rbs_gallery_button {
	display: none;
}

#ctcPageWrap {
	margin: 0 0 2em 0;
}
@media (max-width: 768px) {
	#ctcPageWrap img {
		max-width: 100%;
		height: auto;
	}
}

/*.col-xs-9ths,
.col-sm-9ths,
.col-md-9ths,
.col-lg-9ths {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
.col-xs-9ths {
    width: 11.11111%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-9ths {
        width: 11.11111%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-9ths {
        width: 11.11111%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-9ths {
        width: 11.11111%;
        float: left;
    }
}*/


.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
	margin: 0.4em 1.6em 1.6em 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
	margin: 0.4em 0 1.6em 1.6em;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
	clear: both;
	margin-top: 0.4em;
	margin-bottom: 1.6em;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
	margin-bottom: 1.2em;
}

.caret-left {
	border-bottom: 4px solid transparent;
	border-top: 4px solid transparent;
	border-right: 4px solid;
	display: inline-block;
	height: 0;
	vertical-align: middle;
	width: 0;
}

/****************** menus ********************/
.dropdown:hover > .hover-dropdown-menu {
	display: block;
	right: 0;
 }
 @media (min-width: 768px) {
	.navbar-nav {
		float: right;
		padding: 0;
	}
	.navbar-nav > li {
		float: right;
	}
	.dropdown .dropdown .dropdown-menu {
		right: 100%;
		top: 0;
	}
}

.serviceMenu {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.serviceMenu li {
	float: right;
	display: block;
	height: 6.75em;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	border-radius: 5px;
}
 @media (min-width: 1024px) {
	.serviceMenu li {
		width: 10.664%;
		margin-right: 0.5%;
	}
	.serviceMenu li:first-child {
		margin-right: 0;
	}
	.sogo_font_3 .serviceMenu li {
		height: 8.75em;
	}
 }
  @media (max-width: 768px) {
	  .serviceMenu li {
		width: 32.7%;
		margin: 0.3%;
	}
  }
.serviceMenu li a {
	display: block;
	text-align: center;
	padding: 12%;
	line-height: 1;
}
.serviceMenu li img {
	display: block;
	margin: 0 auto 0.5em;
	width: 60%;
}
#serviceMenuWrap {
	padding: 1em 0 2em;
}
#serviceMenuWrap .ctcSeparator {
	margin-bottom: 1em;
}

/****************** header ********************/
#skipToContentLink {
    position: absolute;
    color: black;
    right: -999px;
    line-height: 2.857em;

}
#skipToContentLink:focus {
    right: 10%;
}

#desktopTopHeader {
	height: 2.857em;
}
/*#desktopTopHeader .container {
	padding: 0;
}
#desktopTopHeader .container .row {
	margin-right: 0;
}*/
#desktopTopHeader .col-md-4 {
	padding-right: 0;
	padding-left: 0;
}
#headerSlider {
	margin-top: 1em;
	position: relative;
}
 @media (max-width: 768px) {
	#headerSlider {
		margin-top: 0.5em;
	} 
}
#headerSlider .ctconnectHeaderSliderWrap {
	height: 20em;
}
 @media (max-width: 768px) {
	#headerSlider .ctconnectHeaderSliderWrap {
		height: 10em;
	} 
}
#headerLogo {
	position: absolute;
	text-indent: -9999px;
	display: block;
	z-index: 1;
	margin: auto;
	top: 0; 
	left: 0; 
	bottom: 0; 
	right: 0;
	height: 9em;
}
body.sogo_accessibility #headerLogo:hover {
	background: transparent !important;
}
#headerLogo img {
	display: block;
	max-height: 20vh;
}

#mainMenu .navbar {
	border-radius: 0;
	min-height: 43px;
	margin-bottom: 0;
}
#mainMenu .navbar-default {
	border: medium none;
}
#mainMenu .navbar-collapse {
	padding: 0;
	border: medium none;
	overflow-y: visible !important;
}
#mainMenu .navbar-nav li {
	border-right-style: solid;
	border-right-width: 1px;
}
#mainMenu .navbar-nav li:first-child {
	border-right: medium none;
}
/*#mainMenu .navbar-nav li:first-child a:before{
	content: '';
}*/
#mainMenu .navbar-nav li a {
	font-size: 1em;
	background: transparent !important;
}
#mainMenu .navbar-nav .dropdown-menu {
	left: auto;
	padding: 0 0.8em;
	border-right-style: solid;
	border-right-width: 2px;
	border-bottom-style: solid;
	border-bottom-width: 2px;
	text-align: right;
}
#mainMenu .navbar-nav .dropdown-menu li {
	border-right: medium none;
	border-top: 1px solid #ccc;
}
#mainMenu .navbar-nav .dropdown-menu li a {
	padding: 3px;
}
#mainMenu .navbar-nav .dropdown-menu li .caret-left {
	margin-right: 5px;
}
#mobileMenuWrap  .navbar-nav .dropdown-menu li .caret-left{
	vertical-align: middle;
	margin-right: 5px;
	margin-top: 10px;
	float: left;
	border-top: 4px dashed;
	border-top: 4px solid\9;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}
#mainMenu .navbar-nav .dropdown-menu li:first-child {
	border-top: medium none;
}
#mainMenu navbar-nav .dropdown-menu>li>a {
	padding: 3px 0;
	font-size: 0.9em;
}

[aria-expanded="true"] > .dropdown-menu {
	display: block;
}

#mobileTopHeader div.ctcWrap {
	padding-top: 1em;
}
#headerLogoMobile img {
	max-width: 6em;
}
@media (max-width: 768px) {
	#headerLogoMobile img {
		max-width: 100%;
	}
}
#headerLogoMobile h1 {
	font-size: 1.2em;
	display: inline-block;
	margin: 0;
}
#sidenavCollapse {
	position: absolute;
	z-index: 999;
	width: 100%;
}
#sidenavCollapse .panel, #sidenavCollapse .panel-default>.panel-heading {
	border: medium none;
	box-shadow: none;
	background: transparent;
}
#sidenavCollapse .panel {
	border-bottom: 1px solid rgba(255,255,255,.3);
	border-radius: 0;
}
#sidenavCollapse .panel a i.fa {
	display: block;
	float: left;
}
#sidenavCollapse .panel a {
	color: inherit;
}
#sidenavCollapse .panel .list-group {
	list-style-type: none;
	margin-top: 1em;
}
#sidenavCollapse .panel .list-group li {
	padding: 0.5em 0;
	border-top: 1px solid rgba(255,255,255,.3);
}

/****************** footer ********************/
footer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3em;
	height: 4em;
	padding: 1em 0;
	background-color: #323232;
	font-size: 0.8em;
	color: #aaa;	
}
footer a, footer a:hover, footer a:visited {
	color: inherit;
	text-decoration: none;
	display: block;
}
footer img {
	vertical-align: bottom;
	height: 1.5em;
}
#footerMenuWrap {
	text-align: left;
	float: left;
}
#footerMenuWrap > div {
	float: left;	
}
#footerMenu {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#footerMenu li {
	display: inline-block;
	padding-right: 0.5em;
	margin-right: 0.5em;
	border-right: 1px solid #aaa;
}
#credits {
	text-align: right;
	float: right;
}
@media (max-width: 768px) {
	footer {
		margin-right: -0.35em;
		margin-left: -0.35em;
		bottom: 0;
		height: auto;
	}
	#footerMenuWrap, #credits {
		float: none;
		text-align: center;
	}
	#credits img {
		display: block;
		margin: 2% auto;
	}
}

/****************** homepage ********************/
.hpRow {
	margin: 1em 0;
}
 @media (max-width: 768px) {
	.hpRow {
		margin: 0.5em 0;
	}
}
.hpRow > .container {
	padding: 0;
}
.hpRow article {
	padding: 0 10px;
}
 @media (max-width: 768px) {
	.hpRow article {
		padding: 0 0 10px;
		clear: both;
		margin-top: 10px;
	}	
}
.hpRow .col-md-8 {
	width: 66.6%; /* fix because of margin for three-children row */
}
 @media (max-width: 768px) {
	.hpRow .col-md-8 {
		width: 100%;
	}	
}
 @media (min-width: 768px) {
	.hpRow article:nth-of-type(3n +0), .rightest {
		padding-right: 0;
	}
	.hpRow article:nth-of-type(1n+0), .leftest {
		padding-left: 0;
	}

	.hpRow article.ctcWidgetPostBig {
		padding-left: 0;
		padding-right: 0;
	}
 }
#hpRowGalleries {
	margin-top: 2em;
}
#hpRowGalleries .ctcWidgetPostSmallCnt {
	display: none;
}

#hpRowGalleries {
	margin-top: 2em;
}
#hpRowGalleries .ctcWidgetPostSmallCnt {
	display: none;
}

/****************** widgets ********************/

.ctcSearch form {
	position: relative;
}
.ctcSearch input {
	display: inline-block;
	height: 2.857em;
	border: medium none;
	opacity: 0.7;
	filter: alpha(70%);
}
.ctcSearch .search-field {
	border-left: 1px solid white;
	font-size: 1em;
	width: 79%;
	padding: 0 2%;
}
.ctcSearch .search-submit {
	width: 20.8%;	
	text-indent: 9999px;
	z-index: 1;
	opacity: 0.5;
	filter: alpha(50%);
}
.ctcSearch .searchIcon {
	position: absolute;
	width: 20.8%;
	z-index: 0;
	left: 0;
	text-align: center;
	padding-top: 0.4em;
	font-size: 20px;
}


.socialLinks {
	text-align: left;
	padding-left: 0;
	white-space: nowrap;
}
.socialLinks a {
	text-decoration: none;
	border-left: 1px solid;
	display: inline-block;
	color: #f2f2f2 !important;
	font-size: 32px;
	width: 40px;
	padding-left:5px;
	text-align:center;
}


.textSizeChanger {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.textSizeChanger li {
	float: right;
	line-height: 2.857em;
}
.textSizeChanger li:first-child {
	padding-left:  0.357em;
}
.textSizeChanger li a, .textSizeChanger li a:visited {
	text-decoration: none;
	display: inline-block;
	text-align: center;
	line-height: 1;
	width: 2.3em;
}
.textSizeChanger li a:focus {
	text-decoration: underline;
}
.textSizeChanger li a.textSizeChangerRegular {
	font-size: 20px;
	line-height: 2.3em;
}
.textSizeChanger li a.textSizeChangerLarger {
	font-size: 25px;
	line-height: 1.8em;
	width: 2em;
}
.textSizeChanger li a.textSizeChangerLarge {
	font-size: 30px;
	line-height: 1.5em;
	width: 1.8em;
}

.ctconnectHeaderSliderWrap {
	width: 100%;
	overflow: hidden;
	position: relative;
}
.ctconnectHeaderSlider {
	width: 10000px;
	height: 100%;
	position: relative;
}
.ctconnectHeaderSliderImg {
	float: right;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	height: 100%;
}
.ctconnectHeaderSliderControls {
	position: absolute;
	z-index: 1;
	margin-top: -1.5em;
	left: 0.5em;
}
.ctconnectHeaderSliderControls span.glyphicon {
	color: #aaa;
}
.ctconnectHeaderSliderControls span.glyphicon:hover, .ctconnectHeaderSliderControls span.glyphicon:hover {
	color: #ccc;
}
.ctconnectHeaderSliderControls .active span.glyphicon {
	color: white;
}

.ctcWidgetPostSmall a{
	text-decoration: none;
	color: inherit;
}
.ctcWidgetPostSmallImgWrapper {
	width: 100%;
	position: relative;
}
.ctcWidgetPostSmallImgWrapper img,  #hpRowGalleries .ctcWidgetPostSmallImgWrapper img {
	width: 100%;
	max-height: 200px;
}
.ctcWidgetPostSmallImgWrapper span, .ctcWidgetPostSmallImgWrapper h3,
#hpRowGalleries .ctcWidgetPostSmallImgWrapper span, #hpRowGalleries .ctcWidgetPostSmallImgWrapper h3 {
	display: block;
	width: 100%;
	max-height: 85px;
	font-size: 1em;
	line-height: 2em;
	font-weight: bold;
	padding: 0 0.5em;
	position: absolute;
	bottom: 0;
	margin: 0;
}
.ctcWidgetPostSmallImgWrapper h3, #hpRowGalleries .ctcWidgetPostSmallImgWrapper h3 {
	color: white;
}
.ctcWidgetPostSmallImgWrapper .ctcWidgetPostSmallBg, #hpRowGalleries .ctcWidgetPostSmallImgWrapper .ctcWidgetPostSmallBg {
	opacity: 0.7;
	filter: alpha(70%);
}
 @media (max-width: 768px) {
	.ctcWidgetPostSmallImgWrapper img {
		width: 33%;
		float: right;
		padding-left: 0.5em;
	}
	#hpRowGalleries .ctcWidgetPostSmallImgWrapper img {
		float: none;
		padding-left: 0;
	}
	.ctcWidgetPostSmallImgWrapper .ctcWidgetPostSmallBg {
		display: none;
	}
	#hpRowGalleries .ctcWidgetPostSmallImgWrapper .ctcWidgetPostSmallBg {
		display: block;
	}
	.ctcWidgetPostSmallImgWrapper span {
		display: inline;
		width: auto;
		position: static;
		line-height: 1;
		padding: 0;
		font-size: 1.2em;
	}
	.ctcWidgetPostSmallCnt {
		padding-right: 33%;
	}
	#hpRowGalleries .ctcWidgetPostSmallCnt {
		padding-right: 0;
	}

	 #hpRowGalleries {
		 margin-bottom: 3em;
	 }
}

.ctcWidgetPostBig a{
	text-decoration: none;
}
.ctcWidgetPostBigImgWrapper {
	width: 100%;
	position: relative;
}
.ctcWidgetPostBigImgWrapper img {
	width: 100%;
}
 @media (max-width: 768px) {
	.ctcWidgetPostBigImgWrapper img {
		height: auto !important;
	}
 }
.ctcWidgetPostBigImgWrapper span {
	display: block;
	/*width: 100%;*/
	font-size: 1.55em;
	line-height: 1.75em;
	font-weight: bold;
	padding: 0 0.5em;
	position: absolute;
	bottom: 0;
}
.ctcWidgetPostBigImgWrapper .ctcWidgetPostBigBg {
	opacity: 0.9;
	filter: alpha(90%);
}

.ctcWidgetImageLinkSmall img {
	width: 100%;
	/*max-height: 200px;*/
}

.ctcWidgetMessages {
	height: 100%;
}
.ctcWidgetMessagesTitle {
	font-size: 1em;
	line-height: 1.9em;
	padding: 0 0.5em;
	font-weight: bold;
}
.ctcWidgetMessagesTitle h2 {
	font-size: inherit;
	display: inline-block;
	margin: 0;
	padding: 0;
}
.ctcWidgetMessagesTitle i.fa {
	-moz-transform: scale(-1, 1);
	-webkit-transform: scale(-1, 1);
	-o-transform: scale(-1, 1);
	-ms-transform: scale(-1, 1);
	transform: scale(-1, 1);
	margin-left: 0.2em;
	font-size: 18px;
}
.ctcWidgetMessagesTitle a {
	display: block;
	float: left;
	font-size: 1.3em;
	line-height: 1.6em;
}
.ctcWidgetMessagesTitle a.playing .glyphicon-play {
	display: none;
}
.ctcWidgetMessagesTitle a.stopped .glyphicon-pause {
	display: none;
}
.ctcWidgetMessagesList {
	list-style-type: none;
	margin: 0;
	padding: 0.8em;
	font-size: 0.9em;
	overflow: hidden;
	height: 1px;
}
.ctcWidgetMessagesList li {
	border-bottom-style: dotted;
	border-bottom-width: 1px;
	padding: 0.5em 0;
}
.ctcWidgetMessagesList li a, .ctcWidgetMessagesList li a:hover, .ctcWidgetMessagesList li a:visited {
	text-decoration: none;
	color: inherit;
}
.ctcWidgetMessagesList li a:hover, .ctcWidgetMessagesList li a:focus {
	text-decoration: underline;
}
.ctcWidgetMessagesFooter {
	display: block;
	font-size: 0.9em;
	line-height: 2.1em;
	text-align: left;
	padding: 0 0.5em;
	font-weight: bold;
}

.ctcWidgetMyCityButtons {
	height: 16.8em;
}
.ctcWidgetMyCityButtonsWrapper {
	color: inherit;
	border: 1px solid #ccc;
	display: block;
	margin-top: 1%;
	height: 24.1%;
}
.ctcWidgetMyCityButtonsWrapper:first-child {
	margin-top: 0;
}
.ctcWidgetMyCityButtonsColor {
	display: inline-block;
	vertical-align: middle;
	width: 3em;
	height: 100%;
	text-align: center;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 2.3em 2.3em;
}
.ctcWidgetMyCityButtonsName {
	padding: 0 0.8em 0 0.5em;
	height: 100%;
	font-size: 1.2em;
}

.ctcWidgetYoutubeTitle {
	font-size: 1em;
	line-height: 1.9em;
	font-weight: bold;
	padding: 0 0.5em;
}
.ctcWidgetYoutubeVideo {
	margin: 0.3em 0;
	height: 200px;
}

.ctcWidgetYoutubeVideo iframe {
	width: 100% !important;
}

.ctcWidgetYoutubeLink {
	display: block;
	font-size: 1em;
	line-height: 1.9em;
	font-weight: bold;
	padding: 0 0.5em;
	text-align: left;
}

.ctcWidgetEvents {
	height: 100%;
}
.ctcWidgetEventsTitle {
	margin: 0;
	padding: 0;
}
.ctcWidgetEvents .ui-datepicker {
	width: 100%;
	/*height: 100%;*/
	border: medium none;
	padding: 0;
}
.ctcWidgetEvents .ui-datepicker-header {
	font-size: 1em;
	line-height: 1.9em;
	padding: 0 0.5em;
	border: medium none;
	border-radius: 0;
}
.ctcWidgetEvents .ui-datepicker-year {
	display: none;
}
.ctcWidgetEvents .ui-datepicker-header.ui-widget-header a, .ctcWidgetEvents .ui-datepicker-header.ui-widget-header a.ui-state-hover {
	text-align: center;
	cursor: pointer;
	border-radius: 0;
	border: medium none;
	background: transparent;
	top: 3px;
	width: 1.2em;
	height: 1.2em;
}
.ctcWidgetEvents .ui-datepicker-header.ui-widget-header a.ui-datepicker-prev {
	right: 4px;
}
.ctcWidgetEvents .ui-datepicker-header.ui-widget-header a.ui-datepicker-next {
	left: 4px;
}
.ctcWidgetEvents .ui-datepicker-header.ui-widget-header a span {
	position: relative;
	top: 1px;
	left: 0;
	display: inline-block;
	font-family: 'Glyphicons Halflings';
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-image: none;
	text-indent: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	line-height: 1.4em;
	font-size: 1em;
}
.ctcWidgetEvents .ui-datepicker-next span:before {
    content: "\e251";
}
.ctcWidgetEvents .ui-datepicker-prev span:before {
    content: "\e250";
}
.ctcWidgetEvents .ui-datepicker table {
	font-size: 1em;
	margin: 0;
}
.ctcWidgetEvents .ui-datepicker-calendar thead th {
	font-weight: lighter;
	font-size: 1.1em;
	line-height: 2.25em;
	padding: 0 0.3em;
}
.ctcWidgetEvents .ui-datepicker td {
	border: 1px solid #ccc;
}
.ctcWidgetEvents .ui-datepicker td.ctcEvent span, .ctcWidgetEvents .ui-datepicker td.ctcEvent a {
	border-right-style: solid;
	border-bottom-style: solid;
	border-right-width: 2px;
	border-bottom-width: 2px;
}
.ctcWidgetEvents .ui-datepicker td span, .ctcWidgetEvents .ui-datepicker td a {
	padding: 0;
	background: transparent;
	text-align: center;
	border: medium none;
	line-height: 2.32em;
}

.ctcWidgetActionButton a, .ctcWidgetActionButton a:hover {
	display: block;
	width: 100%;
	/*height: 3em;*/
	padding: 0.5em 0 0.5em 1em;
	font-size: 1.4em;
	line-height: 1.35em;
	text-decoration: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
	border-radius: 5px;
}
.ctcWidgetActionButton a img {
	display:block;
	float: right;
	max-width: 2em;
	height: 2em;
	margin-top: 0.3em;
}
.ctcWidgetActionButton a span {
	display: table-cell;
	padding-right: 0.5em;
	line-height: 1;	
	vertical-align: middle;
}

.ctcWidgetPhonesTitle {
	font-size: 1em;
	line-height: 1.9em;
	padding: 0 0.5em;
	font-weight: bold;
}
.ctcWidgetPhones {
	border: 1px solid;
	max-height: 250px;
	overflow: auto;
}
.ctcWidgetPhones ul {
	list-style-type: none;
	padding: 5px;
	margin: 0;
}
.ctcWidgetPhones ul li {
	border-top: 1px solid black;
	padding: 5px;
}
.ctcWidgetPhones ul li:first-child {
	border-top: medium none;
}
.ctcWidgetPhones li a {
	color: inherit;
}
/********************************** breadcrumbs ***********************************************/
#breadcrumbs {
	margin: 1em 0;
	padding: 1em;
}
#breadcrumbs ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#breadcrumbs ul li {
	display: inline-block;
}
@media (max-width: 768px) {
	#breadcrumbs {
		display: none;
	}
}


/********************************** generic mycity page ***********************************************/
#myCityPageWrap {
	width: 100%;
	min-height: 5em;
	display: block;
	margin: 2em 0;
}
/************************************* event widget **************************************************/
.events-widget-title{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px 10px;
}

.events-widget-title p{
	margin-bottom: 0;
	font-size: 16px;
}

.events-widget-area{
	background-color: #f0f0f0;
	padding: 7px;
}

.events-widget-title a{
	color: #fff;
}

.widget-single-event{
	background-color: #fff;
	padding: 7px;
	margin-top: 5px;
	transform: scale(1);
	transition: all .5s;
}

.widget-single-event a{
	display: flex;
	align-items: center;
	color: #000
}

.widget-single-event a:hover{
	text-decoration: none;
}

.widget-single-event:hover{
	transform: scale(1.02);
}

.widget-single-event span.date{
	font-size: 19px;
	font-weight: bold;
}

.widget-single-event p{
	margin-bottom: 0;
}

.single-event{
	border: 1px solid rgba(101, 101, 101, 0.38);
	margin-bottom: 20px;
	border-radius: 3px;
	-webkit-box-shadow: 1px 1px 5px 0px rgba(101,101,101,1);
	-moz-box-shadow: 1px 1px 5px 0px rgba(101,101,101,1);
	box-shadow: 1px 1px 5px 0px rgba(101,101,101,1);
}

.event-data{
	display: flex;
	flex: 1;
}

.event-info{
	width: 80%;
	padding: 10px;
}

.event-info .name{
	font-size: 20px;
	color: #717171
}

.event-image{
	max-width: 20%;
	width: 20%;
	padding: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.event-image img{
	display: block;
	max-width: 60%;
}

.event-link{
	border-top: 1px solid rgba(101, 101, 101, 0.38);
	display: flex;
	flex-direction: row-reverse;
	padding: 10px;
}


/************************************* event page **************************************************/
.ctcEventsPage .ctcEvent {
	margin-top: 2.5em;
}
.ctcEventsPage .ctcEvent h1 {
	font-weight: bold;
	font-size: 1.9em;
}
.ctcEventsPage .ctcEvent .ctcEventData {
	font-size: 0.95em;
	margin: 1.3em 0;
}
.ctcEventsPage .ctcEvent .ctcEventData span {
	vertical-align: middle;
	font-size: 1.5em;
	color: #2e2e2e;
	margin-left: 0.3em;
}
.ctcEventsPage .ctcEventCnt {
	margin-top: 1.5em;
}
.ctcEventsPage .ctcEventCnt h3 {
	font-size: 1.15em;
	font-weight: bold;
}
.ctcEventsPage .ctcEventDetails {
	float: right;
}
.ctcEventsPage .ctcEventMap {
	float: right;
	border: 1px solid #ccc;
	height: 200px;
	width: 200px;
	margin-right: 50px;
}
.ctcEventsPage .ctcEventImg img {
	max-width: 100%;
	max-height: 200px;
}
@media (max-width: 768px) {
	.ctcEventsPage .ctcEventDetails {
		float: none;
		margin: 1.5em;
	}
	.ctcEventsPage .ctcEventMap {
		float: none;
		margin: 1.5em;
	}
	.ctcEventsPage .ctcEventImg {
		display: block;
		text-align: center;
		height: 200px;
		margin-bottom: 5em;
	}
}
/************************************* cities page **************************************************/
#cities {
	padding-right: 0;
}
@media (max-width: 768px) {
	#cities {
		margin-top: 0.5em;
	}
}
#cities .row {
	margin-right: -2em;
}
#cities .cityWrap {
	height: 14em;
	padding-right: 2em;
	padding-left: 0;
	margin-bottom: 2em;
	display: block;
}
#cities .city {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	position: relative;
}
#cities .cityData {
	position: absolute;
	bottom: 0;	
	width: 100%;	
	padding: 0.3em 0.5em 0;
}
#cities .cityName {
	font-weight: bold;
	font-size: 1.1em;
	padding-bottom: 0.3em;
}
#cities .cityDescr {
	font-size: 0.9em;
	display: none;
	padding-bottom: 0.8em;
}
#cities .city:hover .cityDescr {
	display: block;
}
#cities .cityDescr em {
	font-style: normal;
	text-decoration: underline;
}

/************************************* messages page ***********************************************/
#messagesPage ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#messagesPage li {
	display: block;
	width: 100%;
	font-size: 0.9em;
	padding: 1em;
	margin: 0.5em 0;
}
#messagesPage li .msgDate{
	font-weight: bold;
}
#messagesPage li a {
	float: left;
}
#msgPage img {
	max-width: 100%;
	max-height: 100%;
	display: block;
}

/************************************* default page ***********************************************/

@media (max-width: 768px) {
	#defaultPage {
		width: 100%;
		overflow: scroll;
		margin-bottom: 100px;
	}
}
#defaultPage h1 {
	font-size: 1.9em;
	font-weight: bold;
}
#defaultPage h2 {
	font-weight: bold;
	font-size: 1.65em;
	border-bottom: 2px solid #888;
}
#postsList {
	list-style:none;
	padding:0;
	margin:0;
}
#postsList li {
	border-bottom: 1px solid #999;
	padding: 0 0.5em 0.5em 0; 
}
#postsList li:before {
	content: "• ";
	font-size: 2.5em;
	vertical-align: middle;
}
#postsList li h3 {
	display: inline-block;
}
#postsList li div {
	margin-right: 1.7em;
}
#postsList li div a.readmore {
	display: block;
	margin-top: 0.5em;
}

/************************************* search results  ***********************************************/
#searchResultsWrap {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#searchResultsWrap li {
	display: block;
	width: 100%;
	font-size: 0.9em;
	padding: 1em;
	margin: 0.5em 0;
	border-width: 1px;
	border-style: solid;
}
#searchResultsWrap li a {
	color: inherit;
	display: block;
	width: 100%;
	height: 100%;
}
#searchResultsWrap li a span {
	float: left;	
}

/************************************* phonebook  ***********************************************/
.phonebookMenu, .phonebookSubmenu {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.phonebookMenu li {
	display: block;
	width: 100%;
}
.phonebookMenu > li {
	border-bottom-width: 1px;
	border-bottom-style: solid;
}
.phonebookMenu li a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0.6em;
}
.phonebookMenu > li a span {
	float: left;	
}

#branchesWrap.phonebookMenu > li {
	margin: 0.3em 0;
	border: medium none;
}
.phonebookMenu li ul {
	display: none;
	padding-left: 1.5em;
	border-left-width: 1px;
	border-left-style: solid;
	border-right-width: 1px;
	border-right-style: solid;
}
.phonebookMenu li ul li {
	border-bottom-width: 2px;
	border-bottom-style: solid;
}
.phonebookMenu li ul li a {
	padding: 0.3em 0.6em;
}
.phonebookMenu li.active {
}
.phonebookMenu > li.active > a {
	font-weight: bold;	
	border-left-width: 1px;
	border-left-style: solid;
	border-right-width: 1px;
	border-right-style: solid;
}
.phonebookMenu li.active ul {
	display: block;
}

#phonebookItem .greenTitle {
	margin-top: 0;
}
#phonebookTable {
	width: 100%;
}
#phonebookTable tr {
	border-bottom-width: 2px;
	border-bottom-style: solid;
}
#phonebookTable th {
	text-align: right;
	padding: 0.5em;
}
#phonebookTable td {
	text-align: center;
	padding: 0.5em;	
}
@media (max-width: 768px) {
	#phonebookTable td.nameCell {
		text-align: right;
	}
}
#phonebookTable td .iconwrap {
	padding: 0.8em;
	width: 3em;
	height: 3em;
}
#phonebookPersonImg {
	overflow: hidden;
	text-align: center;
}
#phonebookPersonImg img {
	max-height: 22em;
}
#phonebookDetails .greenTitle {
	display: block;
	padding: 0.2em 0.5em;
}
#phonebookDetails ul {
	list-style-type: none;
	margin: 0;
	padding: 0;	
}
#phonebookDetails ul li {
	padding: 0.3em;
}
#phonebookDetails ul li i.fa {
	margin-left: 5px;
}
#phonebookDetails ul li i.fa-mobile {
	font-size: 1.5em;
}
#phonebookDetails ul li a {
	color: inherit;
}
@media (max-width: 768px) {
	#phonebookItem, #phonebookDetails {
		padding: 0;
	}
}

/*.slideshowlink {
	display: none;
}*/

/*************************** Home Emergency ******************************/
#homeEmergencyTop {
	height: 10em;
	background: #D9D9D9;
}
#homeEmergencyTop .row {
	line-height: 10em;
}
#homeEmergencyTop .row > * {
	display: inline-block;
	color: white;
	font-weight:bold;
}
#homeEmergencyTop .row #headerEmergencyLogo {
	margin-left: 2em;
}
#homeEmergencyTop .row #headerEmergencyLogo img {
	max-height: 8em;
}
#hpEmergencyTop > div {
	padding: 0;
}
#hpEmergencyTop > .col-md-4 > article {
	margin-bottom: 10px;
	padding-right: 10px;
}
.page-template-homeEmergency .ctcWidgetMessagesWrap {
	padding: 0;
}
.page-template-homeEmergency .ctcWidgetEventsWrap {
	height: 256px
}
 @media (max-width: 768px) {
	#homeEmergencyTop {
 		height: 5em;
	}
}

/*************************** Protocols ******************************/
#ctcProtocols h3 {
	padding: 5px;
	margin: 0;
}
#ctcProtocols h3 > span {
	 display: none;
}
#ctcProtocols ul {
	list-style-type: none;
	padding: 10px;
}
#ctcProtocols ul li {
	margin: 5px 0;
}

/*************************** Comments ******************************/

.inputError {
	border-color: red;
}
#ctcComments {
	border-top: 1px solid #aaa;
	margin-top: 30px;
}
#ctcComments h2 {
	border: medium none;
	font-size: 1.2em;
}

#ctcComments #reply-title, #ctcComments .logged-in-as  {
	display: none;
}
#ctcComments #commentsDisclaimer {
	max-width: 500px;
}
#ctcComments textarea, #ctcComments input[type="text"], #ctcComments input[type="email"] {
	resize: none;
	width: 50%;
	padding: 3px;
}
#ctcComments input[type="submit"] {
	width: 10%;
	margin-right: 40%;
	border: medium none;
	text-align: center;
	font-weight: bold;
	padding: 5px 0;
}

#ctcComments ul {
	list-style-type: none;
}
#ctcComments .comment-body {
	margin-bottom: 15px;
}
#ctcComments .comment-author .says {
	display: none;
}
#ctcComments .comment-author {
	float: right;
	margin-left: 10px;
}
#ctcComments .comment-author * {
	text-decoration: none;
	font-style: normal;
	color: black;
	font-weight: bold;
}
#ctcComments .comment-meta * {
	color: #aaa;
	text-decoration: none;
	font-style: normal;
	font-size: 0.9em;
}

@media (max-width: 600px) {
	.event-image{
		width: 100%;
		max-width: 100%;
	}

	.event-data{
		flex-direction: column-reverse;
	}

	.event-info{
		width: 100%;
	}

	.single-event{
		margin-left: 5px;
		margin-right: 5px;
	}

	.events-list{
		margin-bottom: 76px;
	}
}