html { height:100%; margin:0; padding:0; overflow-y: scroll !important; -webkit-text-size-adjust:none; } /* Не позволява промяна на размера на текста при завъртане на екрана (landscape/portrait) */
body { height:100%; margin:0; font-family:'Cambria', Georgia, serif; font-size:18px; line-height:24px; color:#4a4a4a; background:url(../img/bgr.png); }
img { border:none; outline:none; }
*:focus { outline:0; }
input[type="text"], input[type="password"], textarea, input[type="button"] { -webkit-appearance:none; } /* Изчистава стиловете на default бутоните на мобилните устройства */
.wrapper { min-height:100%; position:relative; }
main { min-height:100%; height:auto !important; height:100%; margin:0 auto -270px; /* bottom margin трябва да бъде с височината на .push */ }

section:after { visibility:hidden; display:block; font-size:0;	content:" "; clear:both; height:0; }
* html section { zoom: 1; } /* IE6 */
*:first-child+html section { zoom: 1; } /* IE7 */

section { width:1080px; margin:0 auto; }

h1 { font-size:24px; padding-bottom:15px; margin:0 0 17px 0; line-height:30px; color:#304860; font-family:'Cambria_Bold_Italic', serif; line-height:30px; font-weight:normal; }
h2 { font-family:'Cambria_Bold_Italic', Georgia, serif; font-weight:normal; color:#53677b; font-size:24px; line-height:30px; border-bottom:1px solid #c6cfd8; padding-bottom:10px; margin-top:6px; }
h3 { font-size:18px; color:#304860; margin-top:5px; font-family:'Cambria_Bold_Italic', serif; font-weight:normal; }
h4 { font-size:16px; line-height:20px; margin:5px 0 0px 0; color:#607890; font-family:'Cambria_Bold_Italic', Georgia, serif; font-weight:normal; }
h4 a { color:#607890; text-decoration:none; }
h4 a:hover { color:#245a65;  }
h5 { font-family:'Cambria_Bold_Italic', Georgia, serif; font-weight:normal; color:#53677b; font-size:18px; border-bottom:1px solid #c6cfd8; padding-bottom:10px; }
h6 { font-family:'Cambria_Bold_Italic', Georgia, serif; font-weight:normal; color:#304860; font-size:20px; padding-bottom:10px; margin-bottom:0; }
h6 span { color:#607890; font-size:15px; }

p { margin-top:0; }
a { color:#4a4a4a; text-decoration:none; }
a:hover { text-decoration:none; }
article a { text-decoration:underline; }
article a:hover { text-decoration:none; }
strong { font-family:'Cambria_Bold', Georgia, serif; font-weight:normal; }
em { font-family:'Cambria_Italic', Georgia, serif; font-style:normal; }
strong em, em strong { font-family:'Cambria_Bold_Italic', Georgia, serif; }

.main ul { padding-left:8px; }
.main ul li { padding:0 0 7px 15px; background:url(../img/bullet.png) no-repeat left 10px; list-style:none; }
.main ol { padding-left:22px; }
.main ol li { padding:0 0 7px 0px; }

.article a { text-decoration:underline; }
.article a:hover { text-decoration:none; }

/*  Table  */
table.prices { border-collapse:collapse; border-bottom:none; border:1px solid #f0f0f0; }
table.prices tr th, table.prices tr td { padding:8px 10px 7px 10px; background-color:#fff; border-bottom:1px solid #f0f0f0; }
table.prices tr th { font-family:'Cambria_Bold_Italic', serif; background-color:#a1b7b9; color:#fff; font-weight:normal; }
/*  end of Table  */

/*  Форма */
form { padding:30px 14px; background-color:#fff; border:1px solid #f0f0f0; }
form.request { text-align:center; }
input[type="text"], input[type="password"], textarea, select { width:254px; padding:7px 8px; font-size:16px; color:#6d6d6d; border:none; font-family:'Cambria', Georgia, serif; background-color:#f2f2f2; }
input[type="text"], input[type="password"] { height:26px; margin-bottom:30px; }
select { width:270px; height:12px; padding:4px 4px; color:#434343; }
.customselect { cursor:pointer; position:relative; margin-bottom:25px; display:inline-block; padding-right:25px; background: url(../img/selectarrow.png) no-repeat right #f2f2f2; }
.customselect input { width:237px; border:none; margin-bottom:0 !important; }
.csdisabled { border:1px solid #CCC !important; }
.selectlist { width:inherit; top:34px; left:-1px; display:none; text-align:left; z-index:100; background:white; border:1px solid #dedede; position:absolute; width:278px; max-height:300px; box-shadow:0px 2px 6px rgba(0, 0, 0, 0.15); overflow-x:hidden; overflow-y:auto; }
.selectlist a { color:#2f2f2f; display:block; padding:5px 25px 5px 8px; text-decoration:none; white-space:nowrap; }
.selectlist a:hover, .selectlist a.current { background-color:#f1f1f1; color:#d27265; }

input[type="checkbox"] {}
input[type="radio"] {}
input[type="button"], input[type="submit"], .button { font-size:16px; line-height:16px; padding:11px 17px; border:none; color:#fff; background-color:#53677b; font-family:'Cambria_Bold_Italic', Georgia, serif; cursor:pointer; /* Firefox */ -moz-transition: all 0.35s ease; /* WebKit */ -webkit-transition: all 0.35s ease; /* Opera */ -o-transition: all 0.35s ease; /* Standard */  transition: all 0.35s ease; }
a.button { padding:10px 17px; text-decoration:none; }
.button:hover { background-color:#304860; }
.view_more { font-size:14px; color:#607890; font-family:'Cambria_Italic', Arial, serif; text-decoration:none; }
.view_more:hover { color:#304860; text-decoration:underline; }
.view_more.small { font-size:12px; color:#a0a296; line-height:14px; }

label { font-size:18px; color:#4a4a4a; font-family:'Cambria_Italic', Arial, serif;}
.field_label { font-size:18px; color:#4a4a4a; line-height:18px; padding-bottom:10px; text-align:left; font-family:'Cambria_Italic', Arial, serif; display:block; }
.form_col { width:270px; padding:0 15px; float:left; }
.form_col_big { width:555px; padding:0 15px; float:left; }
.send_request { padding:20px 20px 15px 80px; margin:30px 0 -1px 150px; border:1px solid #f0f0f0; border-bottom:0; font-family:"Cambria_Bold_Italic",Arial,sans-serif; color:#607890; background:url(../img/icon_request.png) no-repeat 20px center #fff; display:inline-block; }
.send_request.cont_title { padding:20px 20px 15px 20px; margin-left:206px; background-image:none; }
::-webkit-input-placeholder { color:#959595; opacity:100;}
:-moz-placeholder { /* Firefox 18- */ color:#959595; opacity:100;}
::-moz-placeholder { /* Firefox 19+ */ color:#959595; opacity:100;}
:-ms-input-placeholder { color:#959595; opacity:100; }
/*  Край на Форма */

/* Paging */
.paging { padding:25px 0; margin-right:-5px; text-align:right; }
.paging a, .paging span.current { padding:5px 9px 6px 9px; margin:0 5px; line-height:16px; border-radius:4px; text-align:center; color:#607890; background-color:#fff; display:inline-block; text-decoration:none; }
.paging span.current, .paging a:hover { color:#fff; background-color:#607890; }
/* end of Paging */



/*      header      */
header { height:198px; background:url(../img/header_bgr.png) no-repeat center top; }
header a.logo { width:145px; height:143px; margin-top:28px; background:url(../img/logo_minerva_foundation.png) no-repeat center; display:inline-block; float:left; }

.h_leftdiv { width:calc(100% - 330px); float:left; }
.h_leftdiv h1 { margin:83px 0 0 18px; font-family:'Cambria_Bold', serif; color:#304848; float:left; }
.h_socials { width:300px; padding-top:83px; float:right; }
.h_socials a { width:32px; height:32px; margin-left:10px; border-radius:50%; background-color:#607890; display:inline-flex; align-items:center; justify-content:center; float:right; }
.h_socials a:hover { background-color:#53677b; }
.h_socials a img { width:18px; height:18px; display:block; filter:brightness(0) invert(1); }
/*      end of header      */

/*      nav      */
nav { height:46px; border-top:2px solid #fff; margin-bottom:30px !important; background-color:#304860; }
.dev { width:1px; height:46px; background:url(../img/nav_dev.png) no-repeat center center; display:inline-block; padding:0; margin:2px 0 0 0; float:left; }

.primary_nav_wrap ul { float:left; list-style:none; margin:0; padding:0; position:relative; }
.primary_nav_wrap ul a, .primary_nav_wrap ul span { font-size:18px; line-height:46px; padding:0 20px; color:#fff; display:block; text-decoration:none; }
.primary_nav_wrap ul span { cursor:default; }
.primary_nav_wrap ul li { float:left; margin:0; padding:0; position:relative; }
.primary_nav_wrap ul li.active { background-color:#53677b; }
.primary_nav_wrap ul li:hover { background-color:#53677b; }
.primary_nav_wrap ul ul { background:#53677b; display:none; left:0; padding:0; position:absolute; top:100%;}
.primary_nav_wrap ul ul li { width:267px; border-bottom:1px solid #768697; float:none; }
.primary_nav_wrap ul ul a, .primary_nav_wrap ul ul span { line-height:100%; font-size:16px; padding:10px 20px;}
.primary_nav_wrap ul ul a:hover { background-color:#304860; }
.primary_nav_wrap ul ul ul { left:100%; top:0;}
.primary_nav_wrap ul li:hover > ul { display:block;}

/*      end of nav      */

/*   !!!   MAIN   !!!   */
.main_col { width:calc(100% - 330px); margin-right:30px; float:left; }

.cell_30p { width:190px; margin-right:30px; float:left; }
.activities .cell_30p { margin:10px 0 20px 0; text-align:center; }
.activities .cell_30p h4 { margin-bottom:0; line-height:18px; }
.block_tag { height:34px; line-height:32px; font-size:16px; padding:0px 15px; background:#a1b7b9; color:#fff; font-family:'Cambria_Bold_Italic', serif; float:left; }
.date { font-size:14px; font-family:'Cambria_Bold_Italic', serif; color:#a0a296; }

.right_col { width:300px; float:left; }

.white_block { margin:10px 0 30px 0; padding:10px 10px 1px 10px; background-color:#fff; }
.white_block h3 { margin-bottom:8px; color:#245a65; }
.white_block h3 a { color:#245a65; text-decoration:none; }
.white_block h3 a:hover { color:#607890; }
.col_listcell { margin-bottom:12px;}
.col_listcell img { border:1px solid #CCC; box-shadow:0 1px 4px 0px rgba(0, 0, 0, 0.25); float:left; }
.listcell_info { width:190px; margin-left:10px; padding-bottom:8px; border-bottom:1px dotted #c3c3c3; float:left; }

.gall_block { margin:10px 0 30px 0; padding-bottom:10px; background-color:#fff; }
.gall_block h4 { padding:3px 0 0 10px; }
.gal_img { width:290px; height:215px; padding:5px; box-shadow:0 1px 4px 0px rgba(0, 0, 0, 0.25); overflow:hidden; position:relative; }
.gall_watermark { width:300px; height:225px; background:url(../img/gall_watermark.png) no-repeat center; display:block; position:absolute; top:0; left:0; }
.teamitem { border-bottom:10px solid #fff; padding-bottom:10px; font-size:16px;  }
.teamimg { float:left; width:180px;  padding:30px 20px 0 0; display:block; }
.teamitem img { width:167px !important; height:auto !important; border: 5px solid #fff; box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25); border-radius:50%; }
.teaminfo { float:left; width:526px; }

.newsitem { padding:20px 0; font-size:16px; border-bottom:1px dotted #c3c3c3; }
.newsitem h6 { margin-top:0; }
.newsitem img, .article_img { border:1px solid #CCC; box-shadow:0 1px 4px 0 rgba(0, 0, 0, 0.25); float:left; margin:0 20px 0 0; }
.article_img { max-height:360px; margin-bottom:15px; float:none; }

h2.event_title { border-top:1px solid #c6cfd8; padding:10px 0 0 0; margin-top:8px; color:#304860; border-bottom:none; }
.event_date { font-family:"Cambria_Bold_Italic",Arial,sans-serif; color:#607890; margin-bottom:0; }

.social_btns { margin-top:20px; height:25px; }
.fb-share-button, #___plusone_0 { float:left !important; margin-right:10px; }
#___plusone_0 { margin-top:4px !important; }
/*   !!!   end of MAIN   !!!   */

/*      footer      */
.push { height:270px; }
footer { height:240px; width:100%; margin-top:15px; position:absolute; left:0; bottom:0; }
footer .c_footer { height:161px; border-top:1px solid #e1e1e1; border-bottom:1px solid #e1e1e1; background-color:#fff; }
footer .f_col { width:279px; padding-left:20px; border-left:1px solid #c3c3c3;  margin:28px 30px 0 0; font-size:14px; line-height:18px; font-family:'Cambria_Italic', serif; float:left; }
footer .f_coldbl { width:460px; padding-left:20px; border-left:1px solid #c3c3c3;  margin:28px 30px 0 0; font-size:14px; line-height:18px; font-family:'Cambria_Italic', serif; float:left; }
footer .f_colsgl { width:218px; padding-left:20px; border-left:1px solid #c3c3c3;  margin:28px 30px 0 0; font-size:14px; line-height:18px; font-family:'Cambria_Italic', serif; float:left; }

footer .socials { width:40px; height:40px; margin:10px 20px 20px 0; border-radius:50%; background-color:#607890; display:inline-flex; align-items:center; justify-content:center; float:left; }
footer .socials:hover { background-color:#53677b; }
footer .socials img { width:22px; height:22px; display:block; filter:brightness(0) invert(1); }

footer .copyright, footer .maxgraphic { width:50%; padding-top:8px; padding-bottom:7px; font-size:12px; font-family:'Cambria_Bold', serif; float:left; }
footer a.mglink { margin:0 0 0 10px; display:inline-block; float:right; text-decoration:none; }
footer a.mglink img { width:34px; height:10px; vertical-align:middle; }
/*      end of footer      */


.videowrapper iframe { width: 630px; height: 390px;}

/* Gallery */

/*.slider{
    overflow: hidden;
    width: 900px;
    height: 470px;
    float: left;
}

.slider img {
    border: 1px solid black;
    position: absolute;
}

.slider a {
    display: none;
}

.next, .prev {
    float: left;
    height: 470px;
    width:50px;
    cursor: pointer;
    text-align:center;
}

.clear { visibility:hidden; clear:both; }

.circles { text-align:center; width: 900px; padding:20px; }
.circles a { display:inline-block; padding:0px 10px; text-decoration:none; }
.circles .active { color:red; }
*/
.img_big { width:622px; height:468px; padding:4px; background:#fff; box-shadow:0 1px 4px 0 rgba(106, 103, 96, 0.25); text-align:center; }
.img_big img { max-width:622px; max-height:468px; vertical-align:middle; }
.slider { margin:0 auto; margin-top:7px; padding:20px 3px; background:#fff; box-shadow:0 1px 4px 0 rgba(106, 103, 96, 0.25); }
.arrows { width:24px; height:46px; margin-top:24px; background-image:url(../img/arrows.png); background-repeat:no-repeat;  display:block; cursor:pointer; }
.a_left { float:left; background-position:left top; opacity: 0.5}
.a_left:hover { background-position:left bottom; }
.a_right { float:right; background-position:right top; }
.a_right:hover { background-position:right bottom; }

.slidebox { float:left; }
.sl_block { width:95px; padding:0 10px; font-size:12px; line-height:16px; color:#464646; float:left; }
.sl_block img {  height: 95px; }
.slidebox_containter { position:relative; overflow:hidden;float: left; }
.slidebox_containter .slidebox { position:absolute;}

/* END OF GALLERY */



/*      Допълнителни класове      */
.last { margin-right:0px !important; }
.clear { clear:both; visibility:hidden; }
.clearfix:after, section:after { visibility:hidden; display:block; font-size:0;	content:" "; clear:both; height:0; }
* html .clearfix, * html section { zoom: 1; } /* IE6 */
*:first-child+html .clearfix, *:first-child+html section  { zoom: 1; } /* IE7 */
/*      end of Допълнителни класове      */

/* Грешки */
.errors { left:50%; margin-left:-400px; top:0; width:800px; position:absolute; background-color:#FFFEE4; border:1px solid #CC0000; border-top:none; }
.errors div { display:none; padding:10px 15px 0 15px; text-align:left; color:#FF0000; }
.errors div:last-child { display:block; padding:0 15px; }

.errortooltip { position:absolute; width:250px; padding:7px 10px; font-size:12px; line-height:18px; text-align:left; border-radius:4px; color:#fff; background-color:#c40000; box-shadow:1px 1px 3px 0 rgba(0,0,0,0.35); font-family:Arial, Helvetica, sans-serif; }
.errortooltip:after { height:0; width:0; bottom:100%; left:25px; border:solid transparent; content:" "; position:absolute; border-color: rgba(196, 0, 0, 0); border-bottom-color: #c40000; border-width:7px; margin-left:-7px; }

/* КРАЙ НА ГРЕШКИ */

/* Google Maps */
#map { height:368px !important; width:618px !important; padding:5px; border:1px solid #f0f0f0; background-color:#fff !important; }
.gm-style { height:368px !important; width:618px !important; left:5px !important; top:5px !important; }
.map { box-sizing:border-box; width:630px; max-width:100%; margin:10px 0 20px; padding:5px; border:1px solid #f0f0f0; background-color:#fff; }
.map iframe { display:block; width:100% !important; height:auto !important; aspect-ratio:600/450; border:0; }
/* End of Google Maps */


