/*
	Theme name: Anglosas
    Description: Szkoła języków obcych
    Author: Marek Mleczko
    Author URI: http://marekmleczko.pl
    
*/

@font-face{font-family:'FontAwesome';src:url('css/fonts/fontawesome-webfont3295.eot?v=4.5.0');src:url('css/fonts/fontawesome-webfontd41d.eot?#iefix&v=4.5.0') format('embedded-opentype'),url('css/fonts/fontawesome-webfont3295.woff2?v=4.5.0') format('woff2'),url('css/fonts/fontawesome-webfont3295.woff?v=4.5.0') format('woff'),url('css/fonts/fontawesome-webfont3295.ttf?v=4.5.0') format('truetype'),url('css/fonts/fontawesome-webfont3295.svg?v=4.5.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}

@font-face {
    font-family: 'Open Sans Bold';
    src: url('css/fonts/opensans-bold-webfont.eot');
    src: url('css/fonts/opensans-bold-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/opensans-bold-webfont.woff2') format('woff2'),
         url('css/fonts/opensans-bold-webfont.woff') format('woff'),
         url('css/fonts/opensans-bold-webfont.ttf') format('truetype'),
         url('css/fonts/opensans-bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Open Sans Light';
    src: url('css/fonts/opensans-light-webfont.eot');
    src: url('css/fonts/opensans-light-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/opensans-light-webfont.woff2') format('woff2'),
         url('css/fonts/opensans-light-webfont.woff') format('woff'),
         url('css/fonts/opensans-light-webfont.ttf') format('truetype'),
         url('css/fonts/opensans-light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Open Sans';
    src: url('css/fonts/opensans-regular-webfont.eot');
    src: url('css/fonts/opensans-regular-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/opensans-regular-webfont.woff2') format('woff2'),
         url('css/fonts/opensans-regular-webfont.woff') format('woff'),
         url('css/fonts/opensans-regular-webfont.ttf') format('truetype'),
         url('css/fonts/opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Open Sans Semibold';
    src: url('css/fonts/opensans-semibold-webfont.eot');
    src: url('css/fonts/opensans-semibold-webfontd41d.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/opensans-semibold-webfont.woff2') format('woff2'),
         url('css/fonts/opensans-semibold-webfont.woff') format('woff'),
         url('css/fonts/opensans-semibold-webfont.ttf') format('truetype'),
         url('css/fonts/opensans-semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}

html {
    min-height: 100%;
    position: relative;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: Open Sans;
    padding-bottom: 80px !important;
}

a img {
    border: none;
}

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

.row {
    margin: 0;
}

.overflow {
    overflow-x: hidden;
    padding: 0;
}

#site-header {
    background: #ed1c24;
	position: relative;    padding: 0;
}

#logo {
    margin: 0;
    padding: 0;
    position: relative;
}

#logo img {
    width: auto;
    height: 70px;
    display: block;
    margin: auto;
    position: relative;
    z-index: 2;
}

#logo .bg {
    position: absolute;
    top: 0;
    left: 80px;
    width: 9999px;
    height: 100%;
    background: white;
    z-index: 1;
}

#site-nav {
    text-align: left;
    margin: 19px 0 0;
    padding: 0;
}

#site-nav ul {
    list-style: none;
    padding: 0;
}

#site-nav li {
    display: inline-block;
    margin: 0 15px;
    color: white;
    font-family: Open Sans Semibold;
    font-size: 16px;
}

#site-nav .current-menu-item > a, #site-nav li:hover > a {
    border-bottom: 4px solid #690a0a;
}

#site-nav li a {
    color: inherit;
    display: block;
    padding: 5px 4px;
    text-decoration: none;
    border-bottom: 4px solid #ed1c24;
    margin-bottom: 4px;
}

#site-nav .menu-item-has-children {
    background: url(images/menu_arrow.png) right 15px no-repeat;
    margin: 0 8px;
    padding: 0 7px;
    position: relative;
}

#site-nav .menu-item-has-children:hover > ul {
    display: block;
}

#site-nav ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -80px;
    width: 160px;
    background: white;
    border: 2px solid #bbb;
    text-align: center;
    z-index: 99999;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    padding: 4px 0;
}

#site-nav ul.sub-menu li {
    margin: 5px 0;
    display: block;
	color: #555;
}

#site-nav ul.sub-menu li a {
    border: none;
}

#site-nav ul.sub-menu li:hover {
    background: #ffc90e;
	color: black;
}

#page-top {
    background: #f3d9b8 url('../../uploads/2023/08/slider3.jpg') center center no-repeat;		background-size: cover;
    padding: 10px 0 0;
}#page-top > .container {	display: flex; 		align-items: center;		flex-wrap: wrap;	}#page-top p {    font-family: Open Sans Bold;    text-transform: uppercase;    font-size: 25px;    color: white;    text-align: center;    max-width: 80%;    margin: 35px auto;    background: black;    background: rgba(35, 156, 181, 0.74);    padding: 20px;}

.home #page-top > .container {
	min-height: 450px;
}

#page-top img {
    max-width: 100%;
}.slider-button {	position: absolute;	bottom: 0px;	left: 50%;	padding: 20px;	font-family: Open Sans Bold;	display: block;	background: #dcae0e;	text-align: center;	color: white;	text-decoration: none;	font-size: 25px;	text-transform: uppercase;	transform: translate(-50%, 50%);}.slider-button:hover, .slider-button:active, .slider-button:focus {	color: white;	text-decoration: none;	background: #124954;}

#page-top .top-heading {
    font-family: Open Sans Semibold;
    font-size:25px;
    color: white;
    float: left;
    clear: both;
    margin-top: 20px;
	text-shadow: 0 0 8px #868686;
}

#page-top .top-heading a {
    text-decoration: none;
    color: inherit;
}

#page-top h2.top-heading {
    background: #239cb5;
    padding: 15px;
}

#page-top h3.top-heading {
    background: #ffc90e;
    padding: 15px;
}

#page-top h4.top-heading {
    background: #ed1c24;
}

#page-top h4.top-heading a {
    display: block;
    padding: 15px;
}

#page-top h4.top-heading a:hover {
    background: #832513;
}

.page h2.top-heading, .single-course h2.top-heading {
    margin-bottom: 27px;
}

.home h2.top-heading {
    margin-bottom: 10px;
}

#flags {		margin-top: 60px;
    padding: 25px 0;
}

#flags img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;	display: block;	
}

#flags div:first-child {
    text-align: right;
}

#flags div:last-child {
    text-align: left;
}

.about {
    margin: 40px 0;
    background: #ffc90e;
}

.about .ask {
    color: white;
    font-family: Open Sans Semibold;
    text-align: center;
    font-size: 55px;
    line-height: 0.96em;
    padding-bottom: 10px;
    margin-top: 70px;
    margin-bottom: 25px;
}

.about .ask span {
    color: white;
}

.about .text {
    padding: 25px 0 25px 45px;
}

.about.left .text {
    background: #239cb5 url('images/left_triangle.png') left center no-repeat;
	background-size: contain;
}

.about.right .text {
    background: #239cb5 url('images/right_triangle.png') right center no-repeat;
	padding: 9px 0 4px 25px;
}

.about .text ul {
    font-family: Open Sans;
    font-size: 16px;
    color: white;
    list-style: none;
    padding-left: 20px;
    position: relative;
    z-index: 2;
}

.about .text li {
    margin: 11px;
    background: url('images/ul_tick.png') left center no-repeat;
    padding-left: 30px;
}

.about .text .bg {
    position: absolute;
    height: 100%;
    width: 99999px;
    background: #239cb5;
    z-index: 1;
    top: 0;
}

.about.right .ask {
    margin-top: 60px;
}

.about.left .text .bg {
    left: 100px;
}

.about.right .text .bg {
    right: 100px;
}

#map {
    width: 90%;
    height: 210px;
    border: 4px solid #7be8ff;
    position: relative;
    z-index: 2;
}

.box {
    position: relative;
    margin-bottom: 45px;
}

.box-thumb {
    border: 5px solid #239cb5;
}

.box-blue .box-thumb {
    border-color: #ed1c24;
}

.box-thumb img {
    max-width: 100%;
    height: auto;
}

.box-title {
    width: 246px;
    padding: 0 20px;
    background: url('images/box_shadow.png') bottom center no-repeat;
    position: absolute;
    bottom: -13px;
    left: 50%;
    margin-left: -123px;
}

.box-blue .box-title {
    background-image: url(images/box_shadow_blue.png);
}

.box-title h5 {
    background: #ed1c24;
    height: 50px;
    margin: 0;
display: flex;
align-items: center;
justify-content: center;
}

.box-blue .box-title h5 {
    background: #239cb5;
}

.box:hover h5 {
    background: #239cb5;
}

.box.box-blue:hover .box-title h5 {
    background: #ed1c24;
}

.box-title h5 a {
    display: block;
    /*padding: 15px 0;*/
    font-family: Open Sans Semibold;
    font-size: 19px;
    color: white;
    text-align: center;
    text-decoration: none;
}

.page #content, .single #content{
    padding: 20px 0;
}

.page #content h1, .single #content h1 {
    font-weight: bold;
    color: #0c7b92;
}

.page #content h2, .single #content h2 {
    color: #1789a0;
}
#content li {
	margin: 5px 0;
}

.home #page-top .top-heading {
    text-transform: uppercase;
}

#content table {
    margin: 20px auto;
    background: white;
}

#content table th, #content table td{
    text-align: center;
    border: 1px solid lightgray;
    padding: 5px;
}

#content table:not(.month) td:first-child {
    background: #ddd;
    border: 1px solid #9e9e9e;
}

#content table.no-color td {
	background: none !important;
	border: 1px solid #9e9e9e;
}

/*#content img:not(#gallery img) {
    max-width: 100%;
    height: auto;
    border: 9px solid orange;
}*/

.home #content img {
    border: none;
}

#certyfikaty {
    margin: 20px auto;
    display: block;
    max-width: 100%;
    height: auto;
}

#lektorzy h5 {
    font-size: 28px;
    color: white;
    background: #239cb5;
    padding: 9px;
    text-indent: 25px;
}

#lektorzy img {
    border: 2px solid orange;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;
}

.footer-boxes {
    margin-top: 30px;
}

#site-footer {
    padding: 15px;
    color: white;
    text-align: center;
    font-family: Open Sans;
    font-size: 16px;
    color: white;
    background: #239cb5;
    width: 100%;
    position: absolute;
    bottom:0;
}
#wpcf7-f70-p64-o1 {
	text-align:center;
}
.wpcf7 input[type=submit] {
	padding: 10px 20px;
}
#content img.client {
    border: 2px solid orange;
    margin: 10px;
}
.contact-heading {
    padding: 5px;
    color: white;
    background: #239cb5;
    font-weight: bold;
    text-indent: 10px;
}

#content .justify {
    text-align: justify;
}

.about-col {
    color: black;
    padding: 10px;
    border: 10px solid white;
}

/****** MEDIA QUERIES ******/

/* Extra Small */
@media(max-width:767px){
    #site-nav li {
        display: block;
        text-align: left;
    }
    
    #site-header > div {
        padding: 0;
    }
    
    #logo .bg {
        left: 0;
        width: 100%;
    }
    
    #page-top .top-heading {
        font-size: 20px;
    }
    
    #site-header #page-top {
        padding-bottom: 50px;
    }
    
    #flags div:first-child, #flags div:last-child {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .about {
        padding: 20px 0 0;
    }
    
    .about.right .ask, .about.left .ask {
        margin-top: 0;
    }
    
    .about .container {
        width: 100%;
        padding: 0;
    }
    
    .about .text {
        background-image: none !important;
        padding: 10px;
    }
    
    #map {
        width: 96%;
    }
    
    #site-nav li > a, #site-nav li:hover > a {
        border: none;
    }
    
    #site-nav .sub-menu li {
        color: #eee  !important;
    }
    
    #site-nav .sub-menu li:hover {
        background: none !important;
    }
    
    #site-nav .menu-item-has-children {
        background: none;
    }
    
    #site-nav .current-menu-item > a {
     border-bottom: 4px solid #690a0a !important;       
    }
    
    #site-nav ul.sub-menu {
        display: block;
        position: static;
        margin: 0;
        background: none;
        padding-left: 35px;
        border: none;
    }
    
    .box {
        margin-left: auto;
        margin-right: auto;
        float: none;
        max-width: 350px;
    }
}

/* Small */
@media(min-width:768px) and (max-width:991px){
    

    
    .page #page-top .top-heading, .single #page-top .top-heading {
        margin-top: 25px;
    }
    

    .home #page-top .top-heading {
        font-size: 17px;
        margin-top: 9px;
    }

    #site-nav {
        margin-bottom: 5px;
        text-align: center;
    }
    
    #site-header > div {
        padding: 0;
        width: 100%;
    }
    
    #logo .bg {
        left: 0;
    }
        
    .about.left .ask {
        margin-top: 40px;
    }
    
    .about.right .ask {
        margin-top: 0;
        padding-top: 25px;
    }
    
    .about .text {
        background-image: none !important;
        padding: 10px;
    }
   
    #map {
        width: 98%;
    }
    
    .about .container {
        width: 100%;
        padding: 0;
    }
}


/* Medium */
@media(min-width:992px) and (max-width:1199px){
    #logo {
        margin-left: -50px;
    }
    
    #site-nav li {
        margin: 0 10px;
        font-size: 14px;
    }
    
    #page-top .top-heading {
        margin-top: 20px;   
    }
    
    .about .ask {
        font-size: 45px;
        margin-top: 78px;
    }
    
    .about.right .ask {
        margin-top: 75px;
    }


    .fb {
	position: fixed;
	left: 0;
	top: 25%;
	background: white;
	border-radius: 0 15px 15px 0;
        border: 2px solid #cecece;
	z-index: 999999999999;
	}

    .fb a {
	display: block;
	padding: 13px;
}

    .fb img {
	margin-left:0 !important;
	margin-top: 0 !important;
	max-width: 35px !important;
	}

}

/* Large */
@media(min-width:1200px){
    #logo {
        margin-left: -50px;
    }

    .fb {
	position: fixed;
	left: 0;
	top: 25%;
	background: white;
	border-radius: 0 15px 15px 0;
        border: 2px solid #cecece;
	z-index: 999999999999;
	}

    .fb a {
	display: block;
	padding: 20px;
}

    .fb img {
	margin-left:0 !important;
	margin-top: 0 !important;
	max-width: 40px !important;
	}
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

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

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 17px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.wpcf7-recaptcha > div {
	margin: 10px auto;
}

.page-id-514 #content .container > .row {
display: flex;
flex-wrap: wrap;
align-items: center;
}

.table-padding td {
padding: 15px  !important;
}

body {
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.calendar .calendar-header {
  background-color: white;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  border: 0;
}

.calendar .calendar-header .year-title {
  font-size: 18px;
}

.calendar .calendar-header .year-title:hover,
.calendar .calendar-header .prev:hover,
.calendar .calendar-header .next:hover{
  background: rgba(255, 255, 255, 0.2);
}

.calendar .calendar-header .year-title:not(.year-neighbor):not(.year-neighbor2) {
  border-bottom: 2px solid #ccc;
}

.calendar .calendar-header .year-neighbor {
  color: inherit;
  opacity: 0.7;
}

.calendar .calendar-header .year-neighbor2 {
  color: inherit;
  opacity: 0.4;
}

.calendar .months-container .month-container {
  height: 235px;
  margin-bottom: 25px;
}

.calendar table.month {
  background-color: white;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2);
  height: 100%;
}

.calendar table.month th.month-title {
  background-color: #f0f0f0;
  color: #888;
  padding: 6px;
  font-size: 13px;
  font-weight: 600;
}

.calendar table.month th.day-header {
  padding-top: 8px;
  padding-bottom: 5px;
  color: #666;
  font-weight: 500;
}

.calendar table.month td.day .day-content {
  color: #666;
  padding: 9px 7px;
  border-radius: 2px;
}

#content .calendar table td, #content .calendar table th {
	padding: 4px;
	font-size: 12px;
}

.months-container {
	flex-wrap: wrap;
	justify-content: center;
}

.calendar .months-container .month-container {
	margin: 0 15px 63px;
}