/*-----------------------------------------------------------------------------------
	
	Theme Name: Grosca
	Theme URI: https://seoanatomy.com
	Description: Premium WordPress Theme for Avocat Centru
	Author: Rosca Grigore / Semseo SRL
	Author URI: https://seoanatomy.com
	Version: 1.0
	Tags: custom-menu, featured-images, flexible-header, translation-ready
	Text Domain: grosca
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	
-----------------------------------------------------------------------------------*/

/* WordPress General Styles */
.entry-content img, 
.entry-summary img, 
.comment-content img[height], 
img[class*="align"], 
img[class*="wp-image-"], 
img[class*="attachment-"] {
    height: auto;
	max-width: 100%;
}
 
 /* Clearing floats */
.clear:after,
.attachment .entry-header:after,
.site-footer .widget-area:after,
.entry-content:after,
.page-content:after,
.navigation:after,
.nav-links:after,
.gallery:after,
.comment-form-author:after,
.comment-form-email:after,
.comment-form-url:after,
.comment-body:after {
	clear: both;
	}

.clear:before,
.clear:after,
.attachment .entry-header:before,
.attachment .entry-header:after,
.site-footer .widget-area:before,
.site-footer .widget-area:after,
.entry-content:before,
.entry-content:after,
.page-content:before,
.page-content:after,
.navigation:before,
.navigation:after,
.nav-links:before,
.nav-links:after,
.gallery:before,
.gallery:after,
.comment-form-author:before,
.comment-form-author:after,
.comment-form-email:before,
.comment-form-email:after,
.comment-form-url:before,
.comment-form-url:after,
.comment-body:before,
.comment-body:after {
	content: "";
	display: table;
}

/* Assistive text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	position: absolute !important;
	height: 1px;
	width: 1px;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	line-height: normal;
	padding: 15px 23px 14px;
	position: absolute;
	left: 5px;
	top: 5px;
	text-decoration: none;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Make sure videos and embeds fit their containers. */
embed,
iframe,
object,
video {
	max-width: 100%;
}

/* Override the Twitter embed fixed width. */
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important;
}

/* Images */
.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

figure.wp-caption.alignleft,
img.alignleft {
	margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
	margin: 5px 10px 5px 0;
}

figure.wp-caption.alignright,
img.alignright {
	margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
	margin: 5px 0 5px 10px;
}

img.aligncenter {
	margin: 5px auto;
}

img.alignnone {
	margin: 0 15px 0px 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

div.wp-caption.alignright img[class*="wp-image-"] {
	float: right;
}

div.wp-caption.alignright .wp-caption-text {
	padding-left: 10px;
}

img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	        box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.wp-caption.alignleft + ul,
.wp-caption.alignleft + ol {
	list-style-position: inside;
}

.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: 11px;
    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;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	        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. */
}

.bypostauthor {
	padding: 0;
    color: #000;
    margin-top: 10px;
    line-height: 1.7em;
}

.gallery-caption {
    padding: 10px 0;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wp-caption-text {
    padding: 10px 0;
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Customer Styles */
.section-description p,
.about_us_text p,
.simple-page-content p,
.cathedra-description p {
    margin-bottom: 15px;
    text-align: justify;	
}

.section-description,
.simple-page-content,
.cathedra-description,
.page-content-text {
    text-align: justify;	
}

/* Search Page */
.result-container {
    margin-bottom: 30px;	
}

.result-container h3 {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.3;
    color: #262626;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;	
}

.result-container ul {
	margin-top: 10px;
	padding-left: 20px;
}

.result-container ul li {
    list-style: disc;	
}

.result-container ul .result-title a {
	font-size: 14px;
    line-height: 1.5;
    color: #37b7ab;
}

.result-container ul .result-title {
	font-size: 14px;
    line-height: 1.5;
	margin-bottom: 5px;
}

/* Expand Teachers */
.small-expand {
    height: 650px;
    overflow: hidden;
}

.show-more-teachers {
	position: absolute;
    bottom: 0px;
    height: 120px;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(246, 246, 246, 0)), to(#f6f6f6));
    background-image: -webkit-linear-gradient(top, rgba(246, 246, 246, 0), #f6f6f6);
    background-image: -o-linear-gradient(top, rgba(246, 246, 246, 0), #f6f6f6);
    background-image: linear-gradient(to bottom, rgba(246, 246, 246, 0), #f6f6f6);
    width: 100%;
    z-index: 3;
    display: block;
}

.show-more-teachers a.style-btn {
    position: absolute;
    bottom: -30px;
    cursor: pointer;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

/* Attachments */
.news-attachments {
    max-width: 730px;
    margin: 0 auto;
}

/* Page layouts */
.width100 .page-content-wrapper,
.width100 .page-content-wrapper .simple-page-content, 
.width100 .section-description {
    max-width: 100%;
}

.width100 .page-content-wrapper .simple-page-content {
    max-width: 100%;
}

.simple-page-content {
    font-size: 14px;
    line-height: 1.5;
    color: #3C3C3C;
}

.regular-text {
    font-size: 14px;
    line-height: 1.5;
    color: #3C3C3C;
    font-weight: 300;
}

/* Single Event */
.single-event {
    max-width: 730px;
	margin: 0 auto;
	font-size: 14px;
	line-height: 1.5;
	color: #1E1E1E;
	margin-bottom: 50px;
    text-align: justify;
}

.single-event table,
.single-event p,
.single-event ul,
.single-event ol {
    margin-bottom: 20px;
}

.single-event a {
    font-weight: 700;
    color: #37b7ab;
}

.single-event table {
    border-collapse: collapse;
    width: 100%;
}

.single-event th, td {
    text-align: center;
    padding: 8px;
}

.single-event tr:nth-child(even){
	background-color: #f2f2f2;
}

.single-event table thead th {
    background-color: #37b7ab;
    color: #ffffff;
}

.single-event table thead th a{
    color: #ffffff;
	text-decoration: none;
}

.single-event table tbody th:nth-child(even){
	background-color: #f2f2f2;
}

@media (max-width: 576px) {
	
	.single-event table {width:100%;}
	
    .single-event thead {display: none;}
	
    .single-event tr:nth-of-type(2n) {background-color: inherit;}
	
    .single-event tr td:first-child {background: #294a70; color: #ffffff;}
	
    .single-event tbody td {display: block;  text-align:center;}
	
    .single-event tbody td:before { 
        content: attr(data-th); 
        display: block;
        text-align:center;  
    }

}

.single-event ul {
    list-style-type: disc;
    margin-left: 20px;
}

.single-event ul li {
    list-style-type: disc;
}

.single-event ol {
    list-style-type: decimal;
    margin-left: 20px;
}

.single-event ol li {
    list-style-type: decimal;
}

/* Simple Page */
.simple-page-content table,
.simple-page-content p,
.simple-page-content ul,
.simple-page-content ol {
    margin-bottom: 20px;
}

.simple-page-content a {
    font-weight: 700;
    color: #37b7ab;
}

.simple-page-content table {
    border-collapse: collapse;
    width: 100%;
}

.simple-page-content th, td {
    text-align: center;
    padding: 8px;
}

.simple-page-content tr:nth-child(even){
	background-color: #f2f2f2;
}

.simple-page-content table thead th {
    background-color: #37b7ab;
    color: #ffffff;
}

.simple-page-content table thead th a{
    color: #ffffff;
	text-decoration: none;
}

.simple-page-content table tbody th:nth-child(even){
	background-color: #f2f2f2;
}

@media (max-width: 576px) {
	
	.simple-page-content table {width:100%;}
	
    .simple-page-content thead {display: none;}
	
    .simple-page-content tr:nth-of-type(2n) {background-color: inherit;}
	
    .simple-page-content tr td:first-child {background: #294a70; color: #ffffff;}
	
    .simple-page-content tbody td {display: block;  text-align:center;}
	
    .simple-page-content tbody td:before { 
        content: attr(data-th); 
        display: block;
        text-align:center;  
    }

}

.simple-page-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.simple-page-content ul li {
    list-style-type: disc;
}

.simple-page-content ol {
    list-style-type: decimal;
    margin-left: 20px;
}

.simple-page-content ol li {
    list-style-type: decimal;
}

/* Page Entrance */
.section-description table,
.section-description p,
.section-description ul,
.section-description ol {
    margin-bottom: 20px;
}

.section-description a {
    font-weight: 700;
    color: #37b7ab;
}

.section-description table {
    border-collapse: collapse;
    width: 100%;
}

.section-description th, td {
    text-align: center;
    padding: 8px;
}

.section-description tr:nth-child(even){
	background-color: #f2f2f2;
}

.section-description table thead th {
    background-color: #37b7ab;
    color: #ffffff;
}

.section-description table thead th a{
    color: #ffffff;
	text-decoration: none;
}

.section-description table tbody th:nth-child(even){
	background-color: #f2f2f2;
}

@media (max-width: 576px) {
	
	.section-description table {width:100%;}
	
    .section-description thead {display: none;}
	
    .section-description tr:nth-of-type(2n) {background-color: inherit;}
	
    .section-description tr td:first-child {background: #294a70; color: #ffffff;}
	
    .section-description tbody td {display: block;  text-align:center;}
	
    .section-description tbody td:before { 
        content: attr(data-th); 
        display: block;
        text-align:center;  
    }

}

.section-description ul {
    list-style-type: disc;
    margin-left: 20px;
}

.section-description ul li {
    list-style-type: disc;
}

.section-description ol {
    list-style-type: decimal;
    margin-left: 20px;
}

.section-description ol li {
    list-style-type: decimal;
}

/* admin bar position fix */
@media screen and (max-width: 600px) {
	#wpadminbar {
		position: fixed !important;
	}
}

/* admission form */

.feedback-form.admission-form .style-input {
    width: 100%;
}

.feedback-form.admission-form .wpcf7-select {
    width: 100%;
    background-color: #fff;
    border: 1px solid rgba(41, 74, 112, 0.2);
    display: block;
    padding: 12px 20px;
    margin-bottom: 30px;
    font-size: 14px;
    letter-spacing: 0.015em;
    color: #3C3C3C;
}

.feedback-form.admission-form .style-input:nth-child(2n+1) {
    margin-right: 0;
}

.feedback-form.admission-form .second-part {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.feedback-form.admission-form .input-file-wrapper {
    width: auto;
}

.feedback-form.admission-form p {
    margin-bottom: 15px;
}

.feedback-form.admission-form .input-file-wrapper .file-name, .feedback-form .input-file-wrapper .file-name {
    text-align: left;
    word-break: break-word;
    overflow: hidden;
}

.feedback-form.admission-form .style-btn {
    width: 193px;
}

.feedback-form.admission-form .second-part {
    margin-bottom: 30px;
}

@media screen and (max-width: 991px) {
    .feedback-form.admission-form .input-file-wrapper {
        white-space: inherit;
    }
}

@media screen and (max-width: 991px) {
    .feedback-form.admission-form .second-part {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}

@media screen and (max-width: 480px) {
    .feedback-form.admission-form .second-part {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .feedback-form.admission-form .style-btn {
        margin: 0 auto;
    }
    .feedback-form.admission-form .second-part>*+* {
        margin-top: 30px;
    }
}

/* footer support */
.footer-support {
	color: #fff;
    font-size: 12px;
    text-align: center;
    margin-top: 20px;
}

/* partners logos */
.row.partner-logos {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 20px;
}

.partner-logos .col {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 18%;
    -moz-box-flex: 1;
    -ms-flex: 1 0 18%;
    flex: 1 0 18%;
    margin: 5px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.partner-logos .col:nth-child(1) {
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
       -moz-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
}

.partner-logos .col:nth-child(2) {
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
       -moz-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
}

.partner-logos .col:nth-child(3) {
    -webkit-box-ordinal-group: 1;
    -webkit-order: 0;
       -moz-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: -1;
}

.partner-logos .col:nth-child(4) {
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
       -moz-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
}

.partner-logos .col:nth-child(5) {
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
       -moz-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
}

@media (max-width: 768px) {
    .partner-logos .col {
        -webkit-box-flex: 1;
        -webkit-flex: 1 0 45%;
        -moz-box-flex: 1;
        -ms-flex: 1 0 45%;
        flex: 1 0 45%;
    }
    .partner-logos .col:nth-child(3) {
        -webkit-box-ordinal-group: 1;
        -webkit-order: 0;
        -moz-box-ordinal-group: 1;
        -ms-flex-order: 0;
        order: 0;
    }
}

@media (max-width: 320px) {
    .partner-logos .col {
        -webkit-box-flex: 1;
        -webkit-flex: 1 0 100%;
        -moz-box-flex: 1;
        -ms-flex: 1 0 100%;
        flex: 1 0 100%;
    }
}

/* Mobile Header */
@media (max-width: 992px) {
	.logo-link-url {
		/* width: -webkit-fill-available; */
	}
}

.header-top-line.opened-menu-style .education-name {
	color: #fff;
	border-left: 1px solid #fff;
}

/* Mob Contacts */
@media (min-width: 992px) {
	.mob-contacts {
		display: none;
	}
}

@media (max-width: 992px) {
    .mob-contacts {
		display: block;
		background: #37b7ab;
        padding: 15px 0;
        color: #fff;
	}
	.mob-contacts p {
		font-size: 16px;
        line-height: 1.2;
        padding: 5px 0;
	}
	.mob-contacts p:before,
    .mob-contacts p:after	{
		position: initial;
	}
	.mob-contacts p i:before,
    .mob-contacts p i:after	{
		position: initial;
	}
	.mob-contacts a {
		color: #fff;
		text-decoration: none;
	}
}

/* Home Boxes */
.home-boxes {
	margin-bottom: 30px;
}

.home-boxes .single-box {
	box-shadow: 0px 10px 40px 0px rgb(50 50 50 / 10%);
	border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 20px;
}

.home-boxes .single-box img {
	display: block;
	max-width: 100%;
	margin-left: auto;
    margin-right: auto;
}

.home-boxes .single-box h3 {
	padding: 20px 0px;
    margin: 20px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.125);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.home-boxes .single-box a {
	display: block;
	margin-left: auto;
	margin-right: auto;
	font-weight: 600;
    font-size: 14px;
    padding: 12px;
    text-align: center;
    line-height: 1.21;
    letter-spacing: 0.015em;
    color: #FFFFFF;
    background-color: #37b7ab;
	width: 200px;
    border: none;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
	margin-bottom: 20px;
}

.home-boxes .single-box a:hover {
    color: #fff;
    background: rgba(0, 135, 121, .9);
    -webkit-box-shadow: 0px 12px 30px rgb(0 135 121 / 25%);
    box-shadow: 0px 12px 30px rgb(0 135 121 / 25%);
}