@charset "UTF-8";@import url('https://fonts.googleapis.com/css?family=Montserrat:500,600,700');@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700');@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
/***!  /templates/theme/css/template.css  !***/

@media screen,projection {



@font-face {src: url("https://www.azfama.org/templates/theme/css/MyriadPro.otf") format("opentype"); font-family: MyriadPro-Regular; font-display: swap}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body, html {color: rgb(73, 74, 75); width: 100%; height: 100%; padding: 0; margin: 0; font-family: 'Montserrat', sans-serif; line-height: 1.3; letter-spacing: 0.4px; font-size: 14px;  -webkit-text-size-adjust: 100%;}
body {overflow-x: hidden;}
a {text-decoration: none;}
.clear {clear: both; height: 0; overflow: hidden;}

.alert.alert-error {
	padding: 20px;
    background: #cf1919;
    color: #fff;
    border-radius: 5px;
	}
	
h4.alert-heading {
	font-size: 25px;
	}
	
a.close {
    color: #fff;
    float: right;
    font-size: 30px;
    text-decoration: none;
	}

input,textarea,button {outline:none;}
a img {border: none;}
p {padding: 0; margin: 16px 0;}
form {padding: 0; margin: 0;}

.item-pagevideos {
	width: 100%;
	}

::-webkit-input-placeholder {
    color: rgb(0, 0, 0);
}
::-moz-placeholder {
    color: rgb(0, 0, 0);
}
:-ms-input-placeholder {
    color: rgb(0, 0, 0);
}
:-moz-placeholder {
    color: rgb(0, 0, 0);
}

input.inp::-webkit-input-placeholder {
    color: #c1c1c1;
}

.homepage .events {display: none;}

.homepage div#n2-ss-2 .n2-ss-slide-limiter {
    max-width: 1330px !important;
}

.homepage div#n2-ss-2 .n2-ss-section-main-content {
    background-color: rgb(9 22 50 / 90%) !important;
    /* margin: 50px auto !important; */
}

#locations-map {
    height: 300px;
    width: 100%
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

/* Original button styling and Smart Slider 3 compatibility.
   Fixed dimensions prevent Smart Slider hover rules resizing the links. */
.button,
#n2-ss-3 .n2-ss-item-content p.n2-font-b870ccf548622567991ac70cdd481482-paragraph > a {
    display: inline-block !important;
    box-sizing: border-box !important;
    height: 32px !important;
    min-height: 32px !important;
    background-color: #57aba4 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    padding: 7px 20px !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    vertical-align: top !important;
    white-space: nowrap;
    transition: background-color 0.2s ease !important;
}

.button:hover,
#n2-ss-3 .n2-ss-item-content p.n2-font-b870ccf548622567991ac70cdd481482-paragraph > a:hover,
#n2-ss-3 .n2-ss-item-content p.n2-font-b870ccf548622567991ac70cdd481482-paragraph > a:focus-visible {
    background: #356964 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    padding: 7px 20px !important;
    border: 0 !important;
    transform: none !important;
}
/* Preserve left alignment and button spacing in all three slides. */
#n2-ss-3 .n2-ss-item-content p.n2-font-b870ccf548622567991ac70cdd481482-paragraph {
    text-align: left !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
}

#n2-ss-3 .n2-ss-item-content p.n2-font-b870ccf548622567991ac70cdd481482-paragraph > a + a {
    margin-left: 10px !important;
}

a:hover {
    color: #356964;
    cursor: pointer;
}

.round-number {
    border-radius: 100%;
    width: 25px;
    height: 25px;
    background-color: #57aba4;
    color: white;
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    line-height: 25px;
    margin-bottom: 10px;
}

.locations-page {
	width: 100%;
}

.location-item {
    line-height: 25px;
}

.location-item a {
    text-decoration: none;
}
.clearb {clear:both;}

.doctor-item {
    line-height: 25px;
    width: 50%;
    float:left;
}
.doctor-item h4 {
    margin:0.75em 0;
}

.doctor-item a {
    text-decoration: none;
}
.text-blue {
    color: #57aba4;
    font-weight: 600;
}

.title-blue {
    color: #57aba4;
    font-weight: 700;
    padding: 30px 0 7px 0;
	padding: 20px 0 0 0;
}

.padding-bottom-30{
    padding: 0 0 30px 0;
}

.padding-bottom-15{
     padding: 0 0 15px 0;
 }

a {
    text-decoration: underline;
	color: #57aba4;
}

.location-big-title {
    color: #57aba4;
    font-weight: 700;
    padding: 10px 0 7px 0;
    font-size: 28px;
    word-wrap:break-word;
    font-family: 'MyriadPro', sans-serif;
}

.doctor-big-title {
    font-size: 28px;
    word-wrap:break-word;
    font-family: 'MyriadPro', sans-serif;
}

.doctor-contacts {
    width: 210px;
    margin-left: 10px;
}

.doctor-phone {
    font-size: 16px;
    color: #57aba4;
    font-weight: bold;
    margin-bottom: 3px;
    margin-top: 10px;
}

.doctor-email{
    margin-bottom: 7px;
}

.doctor-email a{
    font-size: 14px;
    color: #57aba4;
    font-weight: bold;
    word-wrap: break-word;
    text-decoration: underline;
}

.doctor-social {
    float: left;
    margin: 2px;
}

.doctor-social img {
    width: 60px;
    border-radius: 3px;
}

.new-line {
    clear:both;
}
.appointment-request {
    text-align: left;
}

.appointment-request input , textarea, select {
    background-color: white;
    color: black;
    border-radius: 0;
    border: grey;
    border-style: solid;
    border-width: 1px;
    height: 40px;
    margin-bottom: 10px;
}

.appointment-request .inp-simple {
    width: 90%;
    padding-left: 5%;
}

.appointment-request .inp-half {
    width: 40%;
    float: left;
    padding-left: 5%;
}

.appointment-request .inp-right-half {
    margin-left: 3.8%;
}

.appointment-request textarea {
    width: 94.3%;
    height: 138px;
    padding-top: 10px;
    resize: none;
    padding-left: 5%;
}

.appointment-request .half-block {
    width: 50%;
}

.appointment-request select {
    width: 45%;
    margin-left: 5%;
    padding-left: 5%;
    height: 44px;
    /* -webkit-appearance: none;
    -webkit-border-radius: 0px; */
    border: 1px solid grey;
}

span.location_distance {
    display: block;
    margin-left: 35px;
}


.appointment-request .hint {
    color: gray;
    font-size: 9px;
    font-style: italic;
    margin: 0 0 40px 0px;
}

.appointment-request .doctor-half{
    width: 100% !important;
}

.appointment-request .doctor-half .inp-simple {
    width: 94%;
    padding-left: 5%;
}

.appointment-request .doctor-half .inp-half {
    width: 44%;
    float: left;
    padding-left: 5%;
}

.appointment-request-success {
    text-align: center;
    margin-top: 50px;
}

.appointment-request-error {
    padding-bottom: 15px;
    color: red;
}

.say-hello{
    width: 100%;
}

.say-hello .half-block{
    width: 45%;
}

.say-hello input , textarea {
    background-color: white;
    width: 100%;
    color: black;
    border-radius: 0;
    border: grey;
    border-style: solid;
    border-width: 1px;
    height: 40px;
    margin-bottom: 10px;
    padding-left: 5%;
}

.say-hello textarea {
    height: 84px;
    margin-left: 15%;
    padding-top: 10px;
}

.doctor-header-left {
    /*width: 60%;*/
    float: left;
	width: 100%;
}

.doctor-header-right {
    width: 40%;
    float: left;
}

.doctor-logo {
    width: 200px;
    padding: 5%;
}

/*Topline*/
.content {
    max-width: 1320px;
    padding: 0 15px;
    margin: 0 auto;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.mainbg {
    background: url(https://www.azfama.org/templates/theme/images/mainbg.jpg) no-repeat center;
    background-size: cover;
    position: relative;
	background-position: -110px;
  	background-position: bottom;
}

.map-image {
    background: url(https://www.azfama.org/templates/theme/images/map.jpg) no-repeat center;
    background-color: rgb(196, 205, 222);
    background-size: contain;
    position: relative;
    height: 421px;
}

.innertab .innercontent {
    padding-top: 0px;
	}

.innertab .innercontent .clr {
    margin: 0;
	}
	
/*accesible*/
div.ofc-ada-screen-reader {
    text-align: right;
    font-size: 13px;
    height: 30px;
    background-color: #eef1f5;
    box-shadow: inset 0 0.5px 2px 0 rgba(0,0,0,0.1);
    line-height: 30px;
    position: relative;
    padding-right: 250px;
    z-index: 99999;
}

span.ofc-ada-description {
    color: #3e3e40;
    padding-right: 16px;
}

span.ofc-ada-button {
    background-image: linear-gradient(to bottom,#f8fbff,#dddfe3);
    border: solid .5px #c2c6cc;
    text-align: center;
    color: #313233;
    line-height: 10px!important;
    display: inline-block;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

span.ofc-ada-button a {
    line-height: 28px;
    padding: 0 20px 0 40px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    color: #de7341;
}

span.ofc-ada-button a:before {
    content: "";
    position: absolute;
    top: 2px;
    left: 19px;
    width: 15px;
    height: 20px;
    background: url(https://www.azfama.org/templates/theme/images/acce.png) no-repeat center;
    background-size: 100% auto;
}

#templateswitcher {
    display: none!important;
}

.page__wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.page__item {
    max-width: 50%;
    flex: 1 1 50%;
}

.no-title .page-header h2 {
    display: none;
    }

/*Rsform*/

.formTableLayout button#send {
    background: #57aba4;
    color: #fff;
    border-color: #57aba4;
    padding: 5px 20px 7px ;
    border-radius: 5px;
    font-size: 17px;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    border: 2px solid transparent;
	}


.formTableLayout button#send:hover {
    background: #fff;
    color: #57aba4;
    border-color: #fff;
    border: 2px solid;
    cursor: pointer;
	}

form#userForm {
  	text-align: left;
	}

body.rsform .formTableLayout {
    border: none;
    margin: 0 auto;
	}

body.rsform h1 {
	margin-bottom: 30px;
	text-align: left;
	}
	
.formTableLayout tr.rsform-block>td {
    padding: 5px;
	font-weight: 600;
	}

input, textarea, button , select {
    outline: none;
    padding: 4px;
	}
	
/*Kunena*/

#kunena .navbar {
	min-height: 40px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #fafafa;
    background-image: -moz-linear-gradient(top,#ffffff,#f2f2f2);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#f2f2f2));
    background-image: -webkit-linear-gradient(top,#ffffff,#f2f2f2);
    background-image: -o-linear-gradient(top,#ffffff,#f2f2f2);
    background-image: linear-gradient(to bottom,#ffffff,#f2f2f2);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
    border: 1px solid #d4d4d4;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
    box-shadow: 0 1px 4px rgba(0,0,0,0.065);
    /* *: ; */
    zoom: 1;
	}
	
#kunena .navbar-inner:before, #kunena .navbar-inner:after {
    display: table;
    content: "";
    line-height: 0;
	}
	
#kunena .navbar .nav {
    position: relative;
    left: 0;
    display: block;
    float: left;
    margin: 0 10px 0 0;
	}
	
#kunena .navbar .nav > li {
    float: left;
	padding: 10px;
	}
	
#kunena .navbar .nav > li > a {
    float: none;
    color: #555;
    text-decoration: none;
    text-shadow: 0 1px 0 #ffffff;
	}
	
#kunena .hidden-desktop {
    display: none !important;
	}
	
#kunena .visible-desktop {
    display: inherit !important;
	}
	
#kunena .breadcrumb {
    margin: 10px 0;
	}
	
#kunena .row-fluid {
    width: 100%;
	}
	
#kunena .pull-left {
    float: left;
	}
	
#kunena .pull-left {
    float: left;
	}
	
#kunena .pull-right {
    float: right;
	}
	
#kunena .row-fluid:after {
    clear: both;
	}
	
#kunena .navbar .nav.pull-right {
    float: right;
    margin-right: 0;
	}
	
#kunena .navbar .pull-right > li > .dropdown-menu, #kunena .navbar .nav > li > .dropdown-menu.pull-right {
    left: auto;
    right: 0;
	}
	
#kunena .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,0.2);
    /* *border-right-width: 2px;
    *border-bottom-width: 2px; */
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
	}
	
#kunena .open > .dropdown-menu {
    display: block;
	}
	
#kunena.layout #userdropdown {
    padding: 20px 0 5px 20px;
	}
	
#kunena .pagination ul {
    display: inline-block;
    /* *display: inline; */
    /* *zoom: 1; */
    margin-left: 0;
    margin-bottom: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	}
	
#kunena  .table {
    width: 100%;
    margin-bottom: 18px;
    max-width: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
	}
	
table {
	max-width: 100%;
	background-color: transparent;
	border-collapse: collapse;
	border-spacing: 0;
}
#kunena .table {
	width: 100%;
	margin-bottom: 18px;
}
#kunena .table th,
#kunena .table td {
	padding: 8px;
	line-height: 18px;
	text-align: left;
	vertical-align: top;
	border-top: 1px solid #ddd;
}
#kunena .table th {
	font-weight: bold;
}
#kunena .table thead th {
	vertical-align: bottom;
}
#kunena .table caption + thead tr:first-child th,
#kunena .table caption + thead tr:first-child td,
#kunena .table colgroup + thead tr:first-child th,
#kunena .table colgroup + thead tr:first-child td,
#kunena .table thead:first-child tr:first-child th,
#kunena .table thead:first-child tr:first-child td {
	border-top: 0;
}
#kunena .table tbody + tbody {
	border-top: 2px solid #ddd;
}
#kunena .table #kunena .table {
	background-color: #fff;
}
#kunena .table-condensed th,
#kunena .table-condensed td {
	padding: 4px 5px;
}
#kunena .table-bordered {
	border: 1px solid #ddd;
	border-collapse: separate;
	/* *border-collapse: collapse; */
	border-left: 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
#kunena .table-bordered th,
#kunena .table-bordered td {
	border-left: 1px solid #ddd;
}
#kunena .table-bordered caption + thead tr:first-child th,
#kunena .table-bordered caption + tbody tr:first-child th,
#kunena .table-bordered caption + tbody tr:first-child td,
#kunena .table-bordered colgroup + thead tr:first-child th,
#kunena .table-bordered colgroup + tbody tr:first-child th,
#kunena .table-bordered colgroup + tbody tr:first-child td,
#kunena .table-bordered thead:first-child tr:first-child th,
#kunena .table-bordered tbody:first-child tr:first-child th,
#kunena .table-bordered tbody:first-child tr:first-child td {
	border-top: 0;
}
#kunena .table-bordered thead:first-child tr:first-child > th:first-child,
#kunena .table-bordered tbody:first-child tr:first-child > td:first-child,
#kunena .table-bordered tbody:first-child tr:first-child > th:first-child {
	-webkit-border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	border-top-left-radius: 4px;
}
#kunena .table-bordered thead:first-child tr:first-child > th:last-child,
#kunena .table-bordered tbody:first-child tr:first-child > td:last-child,
#kunena .table-bordered tbody:first-child tr:first-child > th:last-child {
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	border-top-right-radius: 4px;
}
#kunena .table-bordered thead:last-child tr:last-child > th:first-child,
#kunena .table-bordered tbody:last-child tr:last-child > td:first-child,
#kunena .table-bordered tbody:last-child tr:last-child > th:first-child,
#kunena .table-bordered tfoot:last-child tr:last-child > td:first-child,
#kunena .table-bordered tfoot:last-child tr:last-child > th:first-child {
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-left-radius: 4px;
}
#kunena .table-bordered thead:last-child tr:last-child > th:last-child,
#kunena .table-bordered tbody:last-child tr:last-child > td:last-child,
#kunena .table-bordered tbody:last-child tr:last-child > th:last-child,
#kunena .table-bordered tfoot:last-child tr:last-child > td:last-child,
#kunena .table-bordered tfoot:last-child tr:last-child > th:last-child {
	-webkit-border-bottom-right-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	border-bottom-right-radius: 4px;
}
#kunena .table-bordered tfoot + tbody:last-child tr:last-child td:first-child {
	-webkit-border-bottom-left-radius: 0;
	-moz-border-radius-bottomleft: 0;
	border-bottom-left-radius: 0;
}
#kunena .table-bordered tfoot + tbody:last-child tr:last-child td:last-child {
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius-bottomright: 0;
	border-bottom-right-radius: 0;
}
#kunena .table-bordered caption + thead tr:first-child th:first-child,
#kunena .table-bordered caption + tbody tr:first-child td:first-child,
#kunena .table-bordered colgroup + thead tr:first-child th:first-child,
#kunena .table-bordered colgroup + tbody tr:first-child td:first-child {
	-webkit-border-top-left-radius: 4px;
	-moz-border-radius-topleft: 4px;
	border-top-left-radius: 4px;
}
#kunena .table-bordered caption + thead tr:first-child th:last-child,
#kunena .table-bordered caption + tbody tr:first-child td:last-child,
#kunena .table-bordered colgroup + thead tr:first-child th:last-child,
#kunena .table-bordered colgroup + tbody tr:first-child td:last-child {
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	border-top-right-radius: 4px;
}
#kunena .table-striped tbody > tr:nth-child(odd) > td,
#kunena .table-striped tbody > tr:nth-child(odd) > th {
	background-color: #f9f9f9;
}
#kunena .table-hover tbody tr:hover > td,
#kunena .table-hover tbody tr:hover > th {
	background-color: #f5f5f5;
}
table td[class*="span"],
table th[class*="span"],
.row-fluid#kunena .table td[class*="span"],
.row-fluid#kunena .table th[class*="span"] {
	display: table-cell;
	float: none;
	margin-left: 0;
}
#kunena .table td.span1,
#kunena .table th.span1 {
	float: none;
	width: 44px;
	margin-left: 0;
}
#kunena .table td.span2,
#kunena .table th.span2 {
	float: none;
	width: 124px;
	margin-left: 0;
}
#kunena .table td.span3,
#kunena .table th.span3 {
	float: none;
	width: 204px;
	margin-left: 0;
}
#kunena .table td.span4,
#kunena .table th.span4 {
	float: none;
	width: 284px;
	margin-left: 0;
}
#kunena .table td.span5,
#kunena .table th.span5 {
	float: none;
	width: 364px;
	margin-left: 0;
}
#kunena .table td.span6,
#kunena .table th.span6 {
	float: none;
	width: 444px;
	margin-left: 0;
}
#kunena .table td.span7,
#kunena .table th.span7 {
	float: none;
	width: 524px;
	margin-left: 0;
}
#kunena .table td.span8,
#kunena .table th.span8 {
	float: none;
	width: 604px;
	margin-left: 0;
}
#kunena .table td.span9,
#kunena .table th.span9 {
	float: none;
	width: 684px;
	margin-left: 0;
}
#kunena .table td.span10,
#kunena .table th.span10 {
	float: none;
	width: 764px;
	margin-left: 0;
}
#kunena .table td.span11,
#kunena .table th.span11 {
	float: none;
	width: 844px;
	margin-left: 0;
}
#kunena .table td.span12,
#kunena .table th.span12 {
	float: none;
	width: 924px;
	margin-left: 0;
}
#kunena .table tbody tr.success > td {
	background-color: #dff0d8;
}
#kunena .table tbody tr.error > td {
	background-color: #f2dede;
}
#kunena .table tbody tr.warning > td {
	background-color: #fcf8e3;
}
#kunena .table tbody tr.info > td {
	background-color: #d9edf7;
}
#kunena .table-hover tbody tr.success:hover > td {
	background-color: #d0e9c6;
}
#kunena .table-hover tbody tr.error:hover > td {
	background-color: #ebcccc;
}
#kunena .table-hover tbody tr.warning:hover > td {
	background-color: #faf2cc;
}
#kunena .table-hover tbody tr.info:hover > td {
	background-color: #c4e3f3;
}
#kunena .table-noheader {
	border-collapse: collapse;
}
#kunena .table-noheader thead {
	display: none;
}

.kfrontend {
	padding: 20px;
    margin: 20px 0;
    min-height: 40px;
    background-color: #fafafa;
    background-image: -moz-linear-gradient(top,#ffffff,#f2f2f2);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#f2f2f2));
    background-image: -webkit-linear-gradient(top,#ffffff,#f2f2f2);
    background-image: -o-linear-gradient(top,#ffffff,#f2f2f2);
    background-image: linear-gradient(to bottom,#ffffff,#f2f2f2);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
    border: 1px solid #d4d4d4;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
    box-shadow: 0 1px 4px rgba(0,0,0,0.065);
}

.row-fluid::first-child {
	margin: 20px 0;
    background-color: #fafafa;
    background-image: -moz-linear-gradient(top,#ffffff,#f2f2f2);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#ffffff),to(#f2f2f2));
    background-image: -webkit-linear-gradient(top,#ffffff,#f2f2f2);
    background-image: -o-linear-gradient(top,#ffffff,#f2f2f2);
    background-image: linear-gradient(to bottom,#ffffff,#f2f2f2);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff2f2f2', GradientType=0);
    border: 1px solid #d4d4d4;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.065);
    box-shadow: 0 1px 4px rgba(0,0,0,0.065);
	}

#kunena.layout h1  {
    padding: 28px;
	}
	
#kunena.layout .breadcrumb {
    display: flex;
	}

#kunena.layout .filter-time {
    padding: 21px 18px 0 18px;
	}

h2.filter-sel {
	margin-bottom: 0 !important;
	}

[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 0.25em;
    line-height: 14px;
	}
	
[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 0.25em;
    line-height: 14px;
	}

[class^="icon-"], [class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 0.25em;
    line-height: 14px;
	}

#kunena .btn-link {
    border-color: transparent;
    cursor: pointer;
    color: #005e8d;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
	}

#kunena .btn-link, .btn-link:active, #kunena .btn-link[disabled] {
    background-color: transparent;
    background-image: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
	}
	
#kunena .collapse {
    position: relative;
    height: auto;
    overflow: hidden;
    -webkit-transition: height .35s ease;
    -moz-transition: height .35s ease;
    -o-transition: height .35s ease;
    transition: height .35s ease;
	}
	
#kunena .clearfix {
	clear: both;
	}
	
.visible-phone {
    display: none !important;
	}
	
.tooltip {
	position: absolute;
	z-index: 1030;
	display: block;
	visibility: visible;
	font-size: 11px;
	line-height: 1.4;
	opacity: 0;
	filter: alpha(opacity=0);
}
.tooltip.in {
	opacity: 0.8;
	filter: alpha(opacity=80);
}
.tooltip.top {
	margin-top: -3px;
	padding: 5px 0;
}
.tooltip.right {
	margin-left: 3px;
	padding: 0 5px;
}
.tooltip.bottom {
	margin-top: 3px;
	padding: 5px 0;
}
.tooltip.left {
	margin-left: -3px;
	padding: 0 5px;
}
.tooltip-inner {
	max-width: 200px;
	padding: 8px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	background-color: #000;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.tooltip-arrow {
	position: absolute;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}
.tooltip.top .tooltip-arrow {
	bottom: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 5px 5px 0;
	border-top-color: #000;
}
.tooltip.right .tooltip-arrow {
	top: 50%;
	left: 0;
	margin-top: -5px;
	border-width: 5px 5px 5px 0;
	border-right-color: #000;
}
.tooltip.left .tooltip-arrow {
	top: 50%;
	right: 0;
	margin-top: -5px;
	border-width: 5px 0 5px 5px;
	border-left-color: #000;
}
.tooltip.bottom .tooltip-arrow {
	top: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #000;
}
	
.tooltip {
	max-width: 400px;
}
.tooltip-inner {
	max-width: none;
	text-align: left;
	text-shadow: none;
}
th .tooltip-inner {
	font-weight: normal;
}
.tooltip.hasimage {
	opacity: 1;
}
.tip-text {
	text-align: left;
}

.row {
		margin-left: -20px;
		/* *zoom: 1; */
	}
	.row:before,
	.row:after {
		display: table;
		content: "";
		line-height: 0;
	}
	.row:after {
		clear: both;
	}
	[class*="span"] {
		float: left;
		min-height: 1px;
		margin-left: 20px;
	}
	.container,
	.navbar-static-top .container,
	.navbar-fixed-top .container,
	.navbar-fixed-bottom .container {
		width: 940px;
	}
	.span12 {
		width: 940px;
	}
	.span11 {
		width: 860px;
	}
	.span10 {
		width: 780px;
	}
	.span9 {
		width: 700px;
	}
	.span8 {
		width: 620px;
	}
	.span7 {
		width: 540px;
	}
	.span6 {
		width: 460px;
	}
	.span5 {
		width: 380px;
	}
	.span4 {
		width: 300px;
	}
	.span3 {
		width: 220px;
	}
	.span2 {
		width: 140px;
	}
	.span1 {
		width: 60px;
	}
	.offset12 {
		margin-left: 980px;
	}
	.offset11 {
		margin-left: 900px;
	}
	.offset10 {
		margin-left: 820px;
	}
	.offset9 {
		margin-left: 740px;
	}
	.offset8 {
		margin-left: 660px;
	}
	.offset7 {
		margin-left: 580px;
	}
	.offset6 {
		margin-left: 500px;
	}
	.offset5 {
		margin-left: 420px;
	}
	.offset4 {
		margin-left: 340px;
	}
	.offset3 {
		margin-left: 260px;
	}
	.offset2 {
		margin-left: 180px;
	}
	.offset1 {
		margin-left: 100px;
	}
	.row-fluid {
		width: 100%;
		/* *zoom: 1; */
	}
	.row-fluid:before,
	.row-fluid:after {
		display: table;
		content: "";
		line-height: 0;
	}
	.row-fluid:after {
		clear: both;
	}
	.row-fluid [class*="span"] {
		display: block;
		width: 100%;
		min-height: 28px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		float: left;
		margin-left: 2.127659574%;
		/* *margin-left: 2.0744680846383%; */
	}
	.row-fluid [class*="span"]:first-child {
		margin-left: 0;
	}
	.row-fluid .controls-row [class*="span"] + [class*="span"] {
		margin-left: 2.127659574%;
	}
	.row-fluid .span12 {
		width: 99.99999999%;
		/* *width: 99.946808500638%; */
	}
	.row-fluid .span11 {
		width: 91.489361693%;
		/* *width: 91.436170203638%; */
	}
	.row-fluid .span10 {
		width: 82.978723396%;
		/* *width: 82.925531906638%; */
	}
	.row-fluid .span9 {
		width: 74.468085099%;
		/* *width: 74.414893609638%; */
	}
	.row-fluid .span8 {
		width: 65.957446802%;
		/* *width: 65.904255312638%; */
	}
	.row-fluid .span7 {
		width: 57.446808505%;
		/* *width: 57.393617015638%; */
	}
	.row-fluid .span6 {
		width: 48.936170208%;
		/* *width: 48.882978718638%; */
	}
	.row-fluid .span5 {
		width: 40.425531911%;
		/* *width: 40.372340421638%; */
	}
	.row-fluid .span4 {
		width: 31.914893614%;
		/* *width: 31.861702124638%; */
	}
	.row-fluid .span3 {
		width: 23.404255317%;
		/* *width: 23.351063827638%; */
	}
	.row-fluid .span2 {
		width: 14.89361702%;
		/* *width: 14.840425530638%; */
	}
	.row-fluid .span1 {
		width: 6.382978723%;
		/* *width: 6.3297872336383%; */
	}
	.row-fluid .offset12 {
		margin-left: 104.255319138%;
		/* *margin-left: 104.14893615928%; */
	}
	.row-fluid .offset12:first-child {
		margin-left: 102.127659564%;
		/* *margin-left: 102.02127658528%; */
	}
	.row-fluid .offset11 {
		margin-left: 95.744680841%;
		/* *margin-left: 95.638297862277%; */
	}
	.row-fluid .offset11:first-child {
		margin-left: 93.617021267%;
		/* *margin-left: 93.510638288277%; */
	}
	.row-fluid .offset10 {
		margin-left: 87.234042544%;
		/* *margin-left: 87.127659565277%; */
	}
	.row-fluid .offset10:first-child {
		margin-left: 85.10638297%;
		/* *margin-left: 84.999999991277%; */
	}
	.row-fluid .offset9 {
		margin-left: 78.723404247%;
		/* *margin-left: 78.617021268277%; */
	}
	.row-fluid .offset9:first-child {
		margin-left: 76.595744673%;
		/* *margin-left: 76.489361694277%; */
	}
	.row-fluid .offset8 {
		margin-left: 70.21276595%;
		/* *margin-left: 70.106382971277%; */
	}
	.row-fluid .offset8:first-child {
		margin-left: 68.085106376%;
		/* *margin-left: 67.978723397277%; */
	}
	.row-fluid .offset7 {
		margin-left: 61.702127653%;
		/* *margin-left: 61.595744674277%; */
	}
	.row-fluid .offset7:first-child {
		margin-left: 59.574468079%;
		/* *margin-left: 59.468085100277%; */
	}
	.row-fluid .offset6 {
		margin-left: 53.191489356%;
		/* *margin-left: 53.085106377277%; */
	}
	.row-fluid .offset6:first-child {
		margin-left: 51.063829782%;
		/* *margin-left: 50.957446803277%; */
	}
	.row-fluid .offset5 {
		margin-left: 44.680851059%;
		/* *margin-left: 44.574468080277%; */
	}
	.row-fluid .offset5:first-child {
		margin-left: 42.553191485%;
		/* *margin-left: 42.446808506277%; */
	}
	.row-fluid .offset4 {
		margin-left: 36.170212762%;
		/* *margin-left: 36.063829783277%; */
	}
	.row-fluid .offset4:first-child {
		margin-left: 34.042553188%;
		/* *margin-left: 33.936170209277%; */
	}
	.row-fluid .offset3 {
		margin-left: 27.659574465%;
		/* *margin-left: 27.553191486277%; */
	}
	.row-fluid .offset3:first-child {
		margin-left: 25.531914891%;
		/* *margin-left: 25.425531912277%; */
	}
	.row-fluid .offset2 {
		margin-left: 19.148936168%;
		/* *margin-left: 19.042553189277%; */
	}
	.row-fluid .offset2:first-child {
		margin-left: 17.021276594%;
		/* *margin-left: 16.914893615277%; */
	}
	.row-fluid .offset1 {
		margin-left: 10.638297871%;
		/* *margin-left: 10.531914892277%; */
	}
	.row-fluid .offset1:first-child {
		margin-left: 8.510638297%;
		/* *margin-left: 8.4042553182766%; */
	}
	input,
	textarea,
	.uneditable-input {
		margin-left: 0;
	}
	.controls-row [class*="span"] + [class*="span"] {
		margin-left: 20px;
	}
	input.span12,
	textarea.span12,
	.uneditable-input.span12 {
		width: 926px;
	}
	input.span11,
	textarea.span11,
	.uneditable-input.span11 {
		width: 846px;
	}
	input.span10,
	textarea.span10,
	.uneditable-input.span10 {
		width: 766px;
	}
	input.span9,
	textarea.span9,
	.uneditable-input.span9 {
		width: 686px;
	}
	input.span8,
	textarea.span8,
	.uneditable-input.span8 {
		width: 606px;
	}
	input.span7,
	textarea.span7,
	.uneditable-input.span7 {
		width: 526px;
	}
	input.span6,
	textarea.span6,
	.uneditable-input.span6 {
		width: 446px;
	}
	input.span5,
	textarea.span5,
	.uneditable-input.span5 {
		width: 366px;
	}
	input.span4,
	textarea.span4,
	.uneditable-input.span4 {
		width: 286px;
	}
	input.span3,
	textarea.span3,
	.uneditable-input.span3 {
		width: 206px;
	}
	input.span2,
	textarea.span2,
	.uneditable-input.span2 {
		width: 126px;
	}
	input.span1,
	textarea.span1,
	.uneditable-input.span1 {
		width: 46px;
	}
	.thumbnails {
		margin-left: -20px;
	}
	.thumbnails > li {
		margin-left: 20px;
	}
	.row-fluid .thumbnails {
		margin-left: 0;
	}

    .images-wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
        margin: 25px auto;
    }

    .images-wrap img {
        width: auto;
        height: auto;
        max-width: 100%;
    }

    .inner-btns {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin: 15px 0;
    }

    .inner-btns a {
        display: inline-block;
        text-align: center;
        background-color: #57aba4;
        color: #fff;
        padding: 10px 15px;
        text-decoration: none;
        transition: 0.3s all;
    }

    .inner-btns a:hover {
        opacity: 0.7;
    }

    .shasow-box {
        background-color: #dbeafb;
        padding: 5px 20px;
        margin: 25px auto;
    }

.staff-wrap {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin: 30px 0;
    /* max-width: 937px; */
}

.staff-item {
    text-align: center;
    box-sizing: border-box;
    padding: 15px;
    background-color: #e7ecf2;
    border: 1px solid #bccbdb;
    width: 100%;
    max-width: 280px;
}

.staff-item img {
    width: 100%;
    height: auto;
}

.staff-item p {
    font-size: 18px;
    padding: 0;
    margin: 15px 0 0;
    font-weight: 700;
    text-transform: uppercase;
    color: #233166;
}

.staff-item span {
    font-size: 15px;
    display: block;
    font-weight: 500;
    color: #000;
    text-transform: capitalize;
    margin: 5px auto 0;
}

.sub-title {
    margin: 50px 0;
}

.sub-title h2 {
    font-size:28px !important;
}

.sub-title p {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #233166;
}

@media only screen and (max-width: 1383px) {
    .map-image {
        background: url(https://www.azfama.org/templates/theme/images/map.jpg) no-repeat center;
        background-size: cover;
        position: relative;
        height: 421px;
    }
}

@media only screen and (max-width: 666px) {
    .doctor-item{
        width:100%;
    }
    .map-image {
        background: url(https://www.azfama.org/templates/theme/images/map.jpg) no-repeat center;
        background-color: rgb(35,55,67);
        background-size: 240%;
        position: relative;
        height: 73vw;
    }
}

.topline {
    position: absolute;
    z-index: 100;
    top: 0px;
    left: 0;
    width: 100%;
}

.logoline {
    padding: 20px 0;
    background: rgba(255,255,255,0.95);
}

.logo {
    float: left;
    width: 360px;
}

.blueblock {
    padding: 2px;
    background: #57aba4;
    display: inline-block;
    vertical-align: middle;
    /*width: 460px;*/
	/*width: 75px;*/
	margin-left: 10px;
}

.blueblock-again {
    width: 360px !important;
}

.blueblock p {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.topline .blueblock {
    float: right;
    margin-top: 20px;
}


.blueblock span {
    color: #fff;
    font-size: 14px;
    float: left;
    text-transform: uppercase;
    /*width: 56px;*/
    text-align:center;
    line-height: 35px;
    padding: 0px 10px 0px 10px;
}

.blueblock-again span {
    width: 56px !important;
}

.blueblock form {
    float: left;
}

.blueblock .inp {
    text-align: center;
    color: black;
    font-size: 14px;
    border: 0;
    padding: 7px;
    width: 110px;
    float: right;
    background-color: white;
    margin-top: 2px;
}

.blueblock .but {
    background: transparent;
    border: 0;
    width: 22px;
    height: 22px;
    background: url(https://www.azfama.org/templates/theme/images/searchbut.png) no-repeat center;
    background-size: 100% 100%;
    padding: 0;
    margin: 6px 5px 0 7px;
    float: right;
    cursor: pointer;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.blueblock .but:hover {
    -moz-transform: scale(0.8);
    transform: scale(0.8);
}

.menuline {
    padding: 5px 0;
    background: #ce6634;
    text-align: center;
}

.menuline .content {
    position: relative;
}

.menu ul {
    padding: 0;
    margin: 0;
}

.menu ul li {
    display: inline-block;
    padding: 10px 4px;
    margin: 0 auto;
}

.menu ul li a , .nav-header {
    font-family: 'Open Sans', sans-serif;
    padding: 5px;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    border-bottom: 5px solid transparent;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    text-decoration: none;
}

.menu ul li:hover a , .menu ul li ul li .nav-header {
    color: #57aba4;
    text-decoration: none;
	}

.menu ul li.active a , .menu ul li.active ul li.active a {
    color: #57aba4;
    border-bottom: 5px solid #57aba4;
    text-decoration: none;
	}
	
.menu ul li.active ul li a {
    color: #57aba4;
    border-bottom: none;
	}

.menu ul li ul {
    position: absolute;
    top: 100%;
    display: block;
    background: #f8f8f8;
    max-height: 0;
    overflow-y: hidden;
    transition: all 0.2s;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	text-align: left;
	}

.menu ul li:hover ul {
    padding-top: 10px;
    max-height: 3000px;
    overflow-y: auto;
	}
	
.menu ul li ul li {
    display: block;
    padding: 10px 15px;
	}
	
.menu ul li.active ul li a {
    /* color: #e0e0e0; */
	display: block;
	width: 100%;
	}

.menu ul li a:hover, .menu ul li.active a {
    color: #e0e0e0;
	}

.menu ul li.active ul li a:hover , .menu ul li ul li.active a {
	color: #e0e0e0;
	}
	
.menu ul ul li.active {
	padding: 0px 15px;
	}
	
.menu ul li.active ul li {
	padding: 5px 15px;
	}


.hamburger {
    display: none;
}

.menu ul li.item-526 {
    background-color: #57aba4;
    transition: 0.3s ease-in-out;
}

.menu ul li.item-526:hover {
    background-color: #fff;
}

li.item-493 ul {
  	min-width: 185px;
	}

.menu ul li:hover ul {
    /* padding-top: 10px; */
    max-height: 3000px;
    /* overflow-y: auto; */
    overflow: unset;
	}

.menu ul li ul li {
    display: block;
    padding: 10px;
    position: relative;
	}

.menu li:hover ul ul {display:none;} 
.menu li:hover ul {display:block;}
.menu li li:hover ul {
    display:block;
    margin-left: 310px;
    margin-top: -44px; 
    }

.menu ul li ul li.parent:after {
    content: '';
    position: absolute;
    top: 19px;
    right: 2px;
    width: 0;
    height: 0;
    margin-right: 8px;
    vertical-align: middle;
    border-left: 4px solid #1f216d;
    border-right: 4px solid transparent;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    }

/*mainpage*/
.mainpage-content {
    position: relative;
    padding: 240px 0 65px 0;
}

.mainpage-content.new-slider {
    padding: 0;
}

.mainpage-content .rightpart {
    display: none;
}

.n2-ss-section-main-content {
    margin-top: 100px;
}

.mainpage-content .leftpart {
    width:35%;
  	padding: 0 40px 0 0;
	font-size: 13px;
}

.mainpage-content .leftpart h3 {
    margin: 0 0 0px 0;
    font-weight: 600;
	font-size: 36px;
}

.leftpart {
    float: left;
    max-width: 522px;
    padding: 40px 40px 40px 0;
    color: #fff;
}

.rightpart {
    float: right;
    max-width: 350px;
    padding: 40px 0;
}

.leftpart h3 {
    font-family: 'Merriweather', serif;
    font-size: 48px;
    color: #fff;
    margin: 0 0 15px 0;
}

.rightpart h3 {
    font-family: 'Merriweather', serif;
    font-size: 30px;
    color: #fff;
    margin: 20px 0 0 0;
}

ul.servi {
    margin-left: -20px;
}

ul.servi li {
    color: #fff;
    padding: 2px 0;
}

ul.servi li a {
    color: #fff;
    text-decoration: underline;
}

ul.servi li a:hover {
    color: #fff;
    text-decoration: none;
}

.bluebut {
    color: #fff;
    font-size: 14px;
    text-decoration: underline;
    display: inline-block;
    padding: 7px 10px;
    background-color: #57aba4;
    text-transform: uppercase;
}

.bluebut:hover {
    text-decoration: none;
  	color: #efefef;
}

.hp-under-mainc {
	margin: 15px 0 0;
	font-size: 36px;
}

.hp-under-mainc table td {
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
}

/*Footer*/
.footer {
    background: #233166;
    padding: 40px 0;
    text-align: center;
    color: #ededed;
    font-size: 14px;
}

.footer a {
    color: #ededed;
    text-decoration: underline;
}

.footer a:hover {
    color: #ededed;
    text-decoration: none;
}

.botsoc {
    margin: 0 auto 30px auto;
}

.botsoc img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.botsoc img:hover {
    -moz-transform: scale(1.08);
    transform: scale(1.08);
}

/*inner content*/

.innercontent .content {
	display: flex;
    flex-direction: column;
	}

#main {
	width: 75%;
	float: left;
	}
	
#right {
    width: 20%;
    float: left;
    padding: 0 0 0 5%;
	}

.innercontent {
    padding-top: 240px;
    padding-bottom: 40px;
}

.innercontent h2 {
    font-family: 'Merriweather', serif;
    color: #233166;
    font-size: 40px;
    margin: 0 0 15px 0;
}

.colls-2 {
    float: left;
    width: 50%;
    padding: 0 15px 40px 0;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.left-small{
    float: left;
    width: 35%;
    padding: 10px 5% 10px  0;
}

.right-big{
    float: left;
    width: 60%;
    padding: 10px 0 10px 0;
}

.none-padding {
    padding: 0 0 0 0 !important;
}

.g-recaptcha {
    display: block;
    margin: 150px 0px 15px 0px;
    -webkit-transform: scale(0.77);
    -moz-transform: scale(0.77);
    -ms-transform: scale(0.77);
    -o-transform: scale(0.77);
    transform: scale(0.77);
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    -o-transform-origin: 0 0;
    transform-origin: 0 0;
}

.h1line h1 {
    font-family: 'Merriweather', serif;
    color: #233166;
    font-size: 40px;
    margin: 0 0 15px 0;
}

div.k2FeedIcon {
    padding: 6px 8px;
    float: right;
}

.innertab h2 {font-size: 25px;}

.itemToolbar {display: none;}

a.k2Anchor {
	text-transform: uppercase;
    padding: 0 0 20px 0;
    display: block;
}

.clr {
	margin: 25px 0 0;
}

div.k2ArchivesBlock ul li {
	margin: 0 0 10px 0;
}

#wordpressvideowrap {
  	width: 820px !important;
	margin: 0 auto;
	}
	
iframe#advanced_iframe {
	height: auto;
    min-height: 550px;
	}
	
.pdfs {
	width: 1100px;
	}
	
.pdf {
	width: 33%;
	display: inline-block;
	vertical-align: top;
	}
	
.pdfv {
	width: 1100px;
	}
	
.pdfvideo {
	width: 31%;
	display: inline-block;
	vertical-align: top;
	margin: 1%;
	}
	
/*EVENTS*/

.events {
    background: #204358;
    padding: 20px 0;
	}

.events .content {
  	margin: 40px auto;
	}

.events .content h3 {
    font-family: 'Merriweather', serif;
    color: #fff;
    font-size: 40px;
    margin: 0 0 15px 0;
	}
	
.jev_toprow div.previousmonth, .jev_toprow div.nextmonth {
    background-color: #2060aa;
    border: 1px solid #2060aa;
	}
	
.jev_toprow div.currentmonth {
    border-top: 1px solid #2060aa;
    border-bottom: 1px solid #2060aa;
	}
	
#jevents_body .nav-items div.active a, .jev_header2 .active a {
    background-color: #2060aa !important;
	}
	
.nav-items > div:first-child {
    border-left: 1px solid #2060aa !important;
	}
	
.nav-items > div {
	border: 1px solid #2060aa !important;
	}
	
.jev_header2 {
	display: flex;
    justify-content: center;
    margin-bottom: 5px;
	}


@media only screen and (max-width: 1364px) {

.mainbg {
    background-position: 54%;
	}
	
}

@media only screen and (max-width: 1250px) {
    .menuline {
        height: 35px;
    }

    .menu {
        position: absolute;
        left: 0;
        top: 20px;
        background: rgba(0,0,0,0.8);
        width: 200px;
        display: none;
    }

    .menu ul li {
        display: block;
    }

    .hamburger {
        display: block;
        position: absolute;
        width: 35px;
        height: 25px;
        z-index: 2;
        top: 5px;
        left: 15px;
    }

    .hamburger__inner {
        display: block;
        width: 35px;
        height: 3px;
        margin-top: 12px;
        background: #FFF;
        -webkit-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
    }
    .hamburger__inner::before, .hamburger__inner::after {
        display: block;
        position: absolute;
        content: "";
        z-index: -1;
        width: 35px;
        height: 3px;
        background: #FFF;
        -webkit-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
    }
    .hamburger__inner::before {
        top: 0;
    }
    .hamburger__inner::after {
        top: 24px;
    }

    .hamburger--open .hamburger__inner {
        background: none;
    }
    .hamburger--open .hamburger__inner::before, .hamburger--open .hamburger__inner::after {
        top: 12px;
    }
    .hamburger--open .hamburger__inner::before {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .hamburger--open .hamburger__inner::after {
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}
	
@media only screen and (max-width: 1110px) {
  
.mainbg {
    background: #243b49;
  	}
  
.mainpage-content {
    padding: 270px 0 30px 0;
	}
	
.mainpage-content .leftpart {
    width: 50%;
	}

.pdfs , .pdfv {
	width: 100%;
	}
}

@media only screen and (max-width: 1025px) {
	.row-fluid .span3 {
		width: 28.404255% !important;
	}

}

@media only screen and (max-width: 955px) {

#kunena.layout .navbar .nav {
    padding-top: 2px !important;
	}

#kunena .navbar .nav > li {
    float: inherit !important;
    padding: 10px !important; 
	}

}


@media only screen and (max-width: 930px) {

    .left-small{
        width: 100% !important;
        text-align: center !important;
    }

    .right-big{
        width: 100% !important;
    }

    .appointment-request .doctor-half{
        width: 50% !important;
    }

    .appointment-request .doctor-half .inp-simple {
        width: 90%;
        padding-left: 5%;
    }

    .appointment-request .doctor-half .inp-half {
        width: 40%;
        float: left;
        padding-left: 5%;
    }
    
    .leftpart {
        float: left;
        max-width: 422px;
        padding: 40px 20px 40px 0;
        color: #fff;
    }

    .leftpart h3 {
        font-size: 38px;
    }

    .leftpart .blueblock span {
        font-size: 12px;
    }

    .rightpart h3 {
        margin: 10px 0 0 0;
    }

    .bluebut {
        font-size: 11px;
        padding: 7px 5px;
    }
}

@media only screen and (max-width: 860px) {

.pdf {
	width: 100%;
	}
	
.pdfvideo {
	width: 44%;
	}
}

@media only screen and (max-width: 800px) {

    .topline {
        text-align: center;
    }

    .topline .blueblock {
        float: none;
        display: inline-block;
    }

    .logo {
        float: none;
        display: block;
        margin: 0 auto;
        max-width: 70%;
    }
	
	.topbuttons {
		display: flex;
		justify-content: center;
	}

    /*inner content*/
    .innercontent {
        padding-top: 280px;
        padding-bottom: 40px;
    }
	
	.hp-under-mainc {
		font-size: 26px;
	}
}

@media only screen and (max-width: 768px) {

.formCaption {width:100% !important;}
input#Email , input#Your_Email {width:90% !important;}
form#userForm textarea {width:90% !important;}
}



@media only screen and (max-width: 767px) {

    .leftpart {
        float: none;
        max-width: 6000px;
        padding: 20px 20px;
    }
    .mainpage-content .leftpart {
        width:auto;
      	padding: 0;
    }
    .rightpart {
        float: none;
        max-width: 6000px;
        padding: 20px 20px;
    }

    span.ofc-ada-description {
        display: none;
    }

    span.ofc-ada-button {
        width: 100%;
    }

    .page__wrap {
        gap: 50px;
    }
    
    .page__item {
        max-width: 100%;
        flex: 100%;
    }

    .homepage #n2-ss-2 .n2-style-193db28c6f7caebacd40c2fcaaecdd58-heading {
        font-size: 22px !important;
    }

    .homepage div#n2-ss-2 .n2-font-9df1cd7415b0e66340a2159bf6aa0eba-paragraph,
    .homepage div#n2-ss-2 .n2-font-9df1cd7415b0e66340a2159bf6aa0eba-paragraph a {
        font-size: 18px;
        overflow-wrap: anywhere;
    }
}

@media only screen and (max-width: 755px) {
.row-fluid .span3 {
    width: 43.404255% !important;
    margin-bottom: 20px;
	}
}

@media only screen and (max-width: 740px) {
    .doctor-header-right{
        width: 100%;
    }

    /*inner pages*/
    .colls-2 {
        width: 100%;
        padding: 15px 0;
        text-align: center;
    }
}

@media only screen and (max-width: 630px) {
	
#main {width: 100%;}

#right {display: none;}

.pdfvideo {
	width: 98%;
	}	
}

@media only screen and (max-width: 530px) {
.row-fluid .span3 {
    width: 98.404255% !important;
	}
}

@media only screen and (max-width: 500px) {
.hp-under-mainc {
    font-size: 21px;
	}
}

@media only screen and (max-width: 480px) {
  
    .mainpage-content {
        padding: 300px 0 0px 0;
	}

    .g-recaptcha {
        margin: 170px 0px 15px 0px;
    }

    .button {
        padding: 7px 7px 7px 7px;
    }

    .appointment-request .half-block{
        clear:both;
        width: 100%;
    }

    .appointment-request .inp-right-half {
        margin-left: 5%;
    }

    .appointment-request .inp-simple {
        width: 94%;
    }

    .appointment-request .inp-half {
        width: 41.6%;
    }

    .appointment-request textarea {
        width: 94.3%;
    }

    .appointment-request select {
        width: 47.6%;
        margin-left: 4.5%;
    }

    .appointment-request .doctor-half .inp-simple {
        width: 94.3%;
    }

    .appointment-request .doctor-half .inp-half {
        width: 41.6%;
    }

    .leftpart h3 {
        font-size: 28px;
    }

    .rightpart h3 {
        font-size: 21px;
    }

    .blueblock {
        text-align: center;
        width: 300px;
    }

    .blueblock-again {
        text-align: center;
        width: 200px;
    }

    .blueblock form {
        float: none;
        display: inline-block;
        vertical-align: top;
    }

    .blueblock span {
        width: 100%;
        padding: 0px;
        float: none;
        display: block;
    }

    .blueblock .inp {
        /* float: left; */
        display: inline-block;
        vertical-align: top;
        width: 250px;
    }

    .blueblock-again .inp {
        /* float: left; */
        display: inline-block;
        vertical-align: top;
        width: 150px;
    }

    .blueblock .but {
        /* float: right; */
        display: inline-block;
        vertical-align: top;
    }

    /*inner pages*/
    .innercontent h2 {
        font-size: 30px;
    }
	
    .h1line h1 {
        font-size: 30px;
        height: 30px;
	}
	
    .innertab .innercontent h2 {
        font-size: 24px !important;
	}
  
    tbody#rsform_3_page_0 td , tbody#rsform_4_page_0 td {display: block;}

    textarea#Message , tbody#rsform_4_page_0 textarea {
        width: 90%;
        display: block;
  	}

    .rsform-input-box {
        width: 65% !important; 
        display: block;
  	}

    table#cal4_0 tbody td {
        display: table-cell;
	} 

    .staff-item {
        max-width: 230px;
    }

    .staff-item p {
        font-size: 16px;
    }

    .staff-item span {
        font-size: 13px;
    }

    .sub-title h2 {
        font-size:24px !important;
    }

    .sub-title p {
        font-size: 16px;
    }
}
.activeFeedbackField {
  display: inline-block;
  position: relative;
  width: 0;
  overflow: hidden;
}

.activeFeedbackField input {
  position: absolute;
  left: 10px;
}

.activeFeedbackDescription {
  padding-top: 5px;
  margin: 0;
}

ul.list-unstyled.list-inline {
  padding: 0;
}

div#rsblog-container,
.rsblog-post {
  margin-top: 50px;
}

/* Joomla 5 com_users login: compact legacy layout.
   Matches the real Joomla 5 markup (#com-users-login__form).
   No global form or header styling is changed. */
.com-users-login .com-users-login__form,
.com-users-login .com-users-login__form fieldset {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.com-users-login .com-users-login__input,
.com-users-login .com-users-login__input .control-label,
.com-users-login .com-users-login__input .controls,
.com-users-login .com-users-login__remember,
.com-users-login .com-users-login__submit {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.com-users-login .com-users-login__input label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

/* Limit field styling to the actual credential inputs;
   never treat additional anti-bot fields as login controls. */
.com-users-login #com-users-login__form #username,
.com-users-login #com-users-login__form #password {
    display: block !important;
    width: 150px !important;
    max-width: 100% !important;
    height: 20px !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    padding: 1px 2px !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: normal !important;
    background: #fff !important;
    border: 1px solid #aaa !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.com-users-login .password-group,
.com-users-login .password-group .input-group {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Joomla 5 password toggle did not appear in the original design. */
.com-users-login .input-password-toggle {
    display: none !important;
}

.com-users-login .com-users-login__remember .form-check {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.com-users-login #remember {
    appearance: auto !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.com-users-login .com-users-login__remember label {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

.com-users-login .com-users-login__submit .controls {
    margin: 0 !important;
    padding: 0 !important;
}

.com-users-login .com-users-login__submit button[type="submit"] {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 2px 5px !important;
    font-size: 12px !important;
    line-height: normal !important;
    border-radius: 0 !important;
}

/* The three links are DIRECT children of .com-users-login__options.
   They must be blocks, not inline elements. */
.com-users-login .com-users-login__options {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.com-users-login .com-users-login__options > a.list-group-item {
    display: block !important;
    width: max-content !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    color: #57aba4 !important;
    text-decoration: underline !important;
}

/* Validation text stays accessible but is no longer crammed into
   the Username label. It appears below the label when invalid. */
.com-users-login #username-lbl .form-control-feedback {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

/* Extra text field injected into the form (likely anti-spam honeypot).
   Hide it visually without deleting or disabling the field. */
.com-users-login #com-users-login__form > input[type="text"][name="your_name"] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
}
