/* Add your own custom css to this file. You may wish to use css !important calls to override css from the template css files.
----------------------------------------------------------- */

/* FOR SPMAQUETTES */

/* menu font */
@import url("https://fonts.googleapis.com/css?family=Iceland");

body {
    color: #aaaaaa;
}

.item-page {
    font-size: 14px !important;
}


/* use text for logo */
#s5_logo {
    float: right;
}

#s5_logo_text {
    display: block !important;
    color: #EBF530;
    font-size: 102px;
    font-style: italic;
    font-weight: bold;
    left: 17px;
    position: absolute;
    text-shadow: 4px 4px 8px #F1F59D;
    top: 32px;
    font-family: "Iceland" !important;
}

/* main font for titles */
.menu, h1, h2, h3, dd.category-name {
    font-family: "Iceland" !important;
    font-size: 1.3em !important;
}

h1 {
    font-size: 2.5em !important;
    color: #73a0cf !important;
}

dt.article-info-term {
    display: none;
}

dd.category-name {
   color: #73a0cf !important;
   margin-top: -27px;
}

/* menu roll-over & drop-down */
#s5_nav li.mainMenuParentBtnFocused, #s5_nav li:hover {
    background-color: transparent;
}

#subMenusContainer > div {
    border-radius: 0 0 28px 28px;
    box-shadow: 0 0 8px rgba(0, 190, 190, 0.25), 0 0 8px rgba(0, 190, 190, 0.25) inset !important;
    border: none !important;
    border-color: transparent !important;
    padding: 0;
}

#subMenusContainer div.s5_sub_wrap ul, #subMenusContainer div.s5_sub_wrap_rtl ul, #subMenusContainer div.s5_sub_wrap_lower ul {
    background-color: rgb(0, 190, 190);
    background-color: rgba(0, 190, 190, 0.12);
    box-shadow: none;
}

li.subMenuBtn {
    display: inline-block;
    min-width: 50px !important;
    padding: 0 20px !important;
    margin-top: -5px !important;
}

#ul_child_2 {
    height: 40px;
    margin-left: -90px;
}

#ul_child_8 {
    height: 40px;
    margin-left: -270px;
}

#subMenusContainer div.s5_sub_wrap_lower ul {
    border-radius: 28px;
}

#subMenusContainer div.s5_sub_wrap ul, #subMenusContainer div.s5_sub_wrap_rtl ul, #subMenusContainer div.s5_sub_wrap_lower ul, #subMenusContainer div.s5_sub_wrap_lower_rtl ul {
    border: none !important;
    border-color: transparent !important;
}

#subMenusContainer a {
    color: #aaaaaa;
    font-family: Iceland;
    font-size: 19px;
    line-height: 19px;
}

#subMenusContainer a:hover, #subMenusContainer a:active {
    background-color: transparent !important;
    color: #73a0cf;
    text-shadow: 1px 1px 9px #ebda38;
}

.S5_submenu_item:hover {
    background-color: transparent !important;
}

/* a little bit more of h2 */
h2 {
    font-size: 1.9em !important;
}

/* yellow menu */
#s5_menu_wrap li {
    color: rgba(235, 218, 56, 0.63);
    text-shadow: 4px 4px 6px rgba(235, 218, 56, 0.45);
}

#s5_menu_wrap li.active {
    text-shadow: 1px 1px 9px #EBDA38;
}

/* no breadcrumb */
#s5_breadcrumb_fonts_wrap {
    display: none;
}

/* component title */
h1.page-title {
    color: #73a0cf;
    font-family: Iceland;
    font-size: 30px;
    margin-bottom: 10px;
}


/* component padding */
#s5_component_wrap_inner {
    padding: 5px;
}


/* div blocks */
#s5_bottom_row1_inner {
    width: 100%;
}

#s5_bottom_row1_inner .s5_mod_h3_outer {
    width: 550px !important;
}

#s5_top_row1_inner, #s5_bottom_row1_inner, #s5_left_column_wrap_inner, #s5_right_column_wrap_inner {
    display: table;
    border-spacing: 40px;
    margin: -55px -40px;
}

#s5_right_column_wrap_inner {
    border-spacing: 45px;
}

.s5_float_left {
    display: table-row;
}

.module_round_box_outer {
    display: table-cell;
}

body.home .module_round_box_outer {
    width: 33%;
}

body.atelier .module_round_box_outer, body.contact .module_round_box_outer {
    width: 50%;
}

.module_round_box {
    background: none;
    box-shadow: none !important;
    border: none;
    border-radius: 0;
}

.module_round_box_outer .s5_mod_h3 {
    background: none repeat scroll 0 0 rgba(24, 21, 64, 0.64);
    border-radius: 34px 34px 0 0;
}

#s5_header_area_inner2, #s5_component_wrap, #s5_footer_area_inner2, .module_round_box_outer, div.item-page.home img {
    border-radius: 28px 28px 28px 28px;
    box-shadow: 0 0 37px rgba(0, 190, 190, 0.65), 0 0 17px rgba(0, 190, 190, 0.65) inset !important;
    border: none !important;
    opacity: 0.9;
}

#s5_left_wrap, #s5_right_wrap {
    display: table;
    max-width: 240px !important;
}

#s5_left_wrap > div, #s5_right_wrap > div {
  display: table-row;
  border-radius: 35px;
}

#s5_left_wrap img, #s5_right_wrap img, div.item-page.atelier img {
    border-radius: 28px 28px 28px 28px;
    box-shadow: 0 0 8px rgba(0, 190, 190, 0.65), 0 0 8px rgba(0, 190, 190, 0.65) inset !important;
    border: none !important;
}

#s5_left_wrap div.module_round_box_outer_outer, #s5_right_wrap div.module_round_box_outer_outer {
    margin-bottom: 50px;
}

#s5_header_area_inner2, #s5_component_wrap, #s5_footer_area_inner2, #s5_menu_wrap {
    background-color: rgba(0, 190, 190, 0.12);
    margin: 31px;
    overflow: hidden;
}

.module_round_box_outer {
    margin: 31px;
    overflow: hidden;
}

/* header */
#s5_header_wrap {
    position: relative;
    border-radius: 27px 27px 0 0;
    height: 100px;
    overflow: hidden;
}

#s5_menu_wrap {
    border-radius: 0 0 27px 27px;
    margin: 0px;
    border-top: 1px solid #C5C5C5;
}

/* no footer */
#s5_footer_area1, #s5_shape5_logo, #s5_scroll_wrap {
  display: none !important;
}

/* tutorials */
/*
#s5_above_body .s5_fourdivs_1 {
    margin: 0;
}

.custom.share_buttons {
    float: right;
    margin-top: -10px !important;
}

.custom.share_buttons > div {
    display: inline-block;
    vertical-align: top;
    margin-left: 5px !important;
}

.fb-like iframe {
    right: 0;
}
*/

.mce-content-body {
    background-color: rgba(0, 190, 190, 0.12);
}

div.item-page.atelier, div.item-page.atelier h2, .mce-content-body {
    color: #73a0cf;
    text-align: center;
}

div.item-page.atelier li {
    text-align: left;
    line-height: 16px;
}

div.item-page.atelier th, .mce-content-body  th {
    background-color: rgba(0, 0, 0, 0);
    color: #EBF530;
    font-family: iceland;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
}

div.item-page.atelier td, .mce-content-body  td {
    vertical-align: top;
    padding: 10px 13px;
}

div.item-page.atelier td div, .mce-content-body  td div {
    margin-left: 10px;
}

div.item-page.atelier ol, .mce-content-body ol {
    text-align: justify;
}

div.item-page.atelier ul li, .mce-content-body ul li {
    list-style: disc;
    margin-bottom: 7px;
}

div.item-page.atelier h2, .mce-content-body h2 {
    font-family: Arial, Helvetica, Sans-Serif !important;
    font-variant: small-caps;
    font-size: 1.7em !important;
    margin-top: 15px;
}

div.item-page.atelier img, .mce-content-body img {
    margin: 20px auto;
    display: block;
}

.at_menu {
    display: none;
}

.item-page.atelier table, .mce-content-body table {
    width: 100%;
}

.item-page.atelier td, .mce-content-body td {
    width: 33%;
    text-align: center;
    vertical-align: top;
}

.item-page.atelier b, .mce-content-body b {
    color: #993366;
}

.item-page.atelier p, .item-page.atelier ul, .item-page.atelier ol {
    max-width: 550px;
    margin: 0 auto;
    text-align: justify;
}

.mod-articles-category-group {
    display: none;
}

.mod-articles-category-group + ul {
    margin-bottom: 22px ! important;
}


/* top image on left using "sup" */
sup img {
    float: left;
}



/* homepage first line block height */
#s5_pos_top_row1_1 > div > div, #s5_pos_top_row1_6 > div > div, #s5_left_top_wrap, #s5_right_top_wrap {
    text-align: justify;
}

#s5_component_wrap {
    text-align: justify;
}

.item-page.home img {
    margin: 25px;
}


/* main page tables */
.item-page.home {
    min-height: 710px;
}

.item-page.home form input {
    border-radius: 15px;
    padding: 0;
}

.item-page.home table {
    border-collapse: inherit;
    border-spacing: 25px;
    width: 100%;
}

.item-page.home table td {
    vertical-align: top;
}

.item-page.home hr {
    border-color: #2e5b8a;
}

/* news flash */
div.newsflash p {
    padding-top: 0;
}

#s5_right_wrap div.newsflash p, #s5_right_wrap div.random-image {
    text-align: center;
}

body.home #phocagallery-module-ri {
    height: 150px;
}

body.home #phocagallery-module-ri img {
    width: 144px;
    height: 150px;
}

body.home .pg-cv-box-img-mod-ri {
    height: 150px;
    border-spacing: 0;
}

body.home .pg-cv-box-mod-ri {
    background-color: transparent;
    box-shadow: none;
    margin: 0;
    padding: 0;
    float: none;
}

/* latest articles */
ul.latestnews {
    margin-left: 10px !important;
}

ul.latestnews li {
    background: none;
    list-style: disc;
    padding: 0;
    color: #73A0CF;
    border: none;
}

/* search field */
#s5_search .moduletable {
    display: inline-block;
}

#s5_search .moduletable.facebook, #s5_search .moduletable.twitter {
    margin-right: 15px;
    margin-top: 7px;
    vertical-align: middle;
    box-shadow: 0 0 25px rgba(0, 190, 190, 0.65), 0 0 8px rgba(0, 190, 190, 0.65) inset;
}

#s5_search input.inputbox {
    background-color: rgba(0, 190, 190, 0.05);
    font-family: Arial, Helvetica, Sans-Serif !important;
    font-size: 13px;
    color: #aaaaaa;
    margin-right: 5px;
    margin-top: 10px;
    border: none;
}

#s5_search input.button {
    width: auto !important;
    background-color: transparent;
    border: none;
    box-shadow: none;
    margin-right: 15px;
    margin-top: 5px;
    padding: 0;
}

/* search page */
#searchForm > div.btn-toolbar, #searchForm fieldset.phrases legend, #searchForm fieldset.only legend, #searchForm div.form-limit {
    display: none;
}

#searchForm span.badge.badge-info {
    background-color: transparent;
    padding: 0 0 0 5px;
    color: #aaaaaa;
}

#searchForm div.controls label, #searchForm div.phrases-box, #searchForm div.ordering-box, #searchForm div.ordering-box label, #searchForm div.ordering-box select, #searchForm fieldset.only label {
    display: inline-block;
    margin-right: 25px;
    vertical-align: baseline;
}

#searchForm div.ordering-box label {
    margin-right: 5px;
}

#searchForm div.ordering-box select {
    background-color: transparent;
}

.search-results span.highlight {
    background-color: #ffff66 !important;
    color: black;
}


/* pagination */
div.pagination li > * {
    background-color: transparent !important;
    border: none !important;
}

div.pagination span.pagenav {
    color: #555555;
}

/* gallery */
.pg-csv-box {
    display: inline-block;
    padding: 10px;
}

.pg-box3 img {
    border-radius: 16px;
    box-shadow: 0 0 22px rgba(0, 190, 190, 0.65), 0 0 22px rgba(0, 190, 190, 0.65) inset !important;
}

.pg-box3 img:hover {
    box-shadow: 0 0 22px white, 0 0 22px white inset !important;
}

.pg-csv-name {
    text-align: center;
}

#pg-msnr-container .pg-cv-name.pg-cv-folder {
    position: absolute;
    left: 10px;
    top: 231px;
    width: 250px;
    height: 20px;
    padding-left: 0;
    padding-top: 4px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: black;
    background: white;
    border-radius: 0 0 16px 16px;
    opacity: 0.5;
}

#pg-msnr-container .pg-csv-name a {
    color: #aaaaaa !important;
}

.pg-cv-desc {
    text-align: justify;
    color: #73a0cf;
    font-weight: bold;
    margin-bottom: 20px;
}

.pg-cv-desc > p:first-child {
    text-align: center;
}

.pg-cv-desc img {
    opacity: 0.9;
    border-radius: 28px 28px 28px 28px;
    box-shadow: 0 0 25px rgba(0, 190, 190, 0.65), 0 0 8px rgba(0, 190, 190, 0.65) inset !important;
    border: none !important;
    margin: 20px !important;
}

.pg-cv-box {
    position: relative;
    box-shadow: none;
    margin-bottom: 5px !important;
    height: 250px;
    background-color: rgba(0, 0, 0, 0);
}

.pg-cv-box:hover {
    background: none;
}

#pg-msnr-container {
    margin: 0 auto;
    width: 1120px
}

#phocagallery + div {
    display: none;
}

#boxplus .boxplus-dialog {
    background: #141414;
    border-radius: 28px 28px 28px 28px;
    box-shadow: 0 0 37px rgba(0, 190, 190, 0.65), 0 0 12px rgba(0, 190, 190, 0.65) inset !important;
}


/* contact page */
#s5_component_wrap .contact .contact-form {
    margin-top: -25px;
}

#contact-form {
    border-radius: 28px;
}

#s5_component_wrap .contact h3 {
    display: none;
}

#s5_component_wrap .contact .contact-form fieldset legend {
    font-family: "Iceland" !important;
    margin-bottom: 10px;
}

#s5_component_wrap {
    color: #666666;
}

#s5_component_wrap .contact legend + .control-group, #s5_component_wrap .contact .control-group {
    margin-top: 0;
    margin-bottom: 0;
}

#s5_component_wrap .contact form, #s5_component_wrap .contact fieldset {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

#s5_component_wrap .contact .form-actions {
    background-color: transparent;
    margin-bottom: 0;
    padding-bottom: 10px;
}

#s5_component_wrap .contact .control-group input, #s5_component_wrap .contact .control-group textarea {
    background-color: #909090;
    color: black;
}

#s5_component_wrap .contact .control-group input, #s5_component_wrap .contact .control-group textarea {
    width: 99%;
}

#jform_contact_email_copy {
    width: 10px !important;
}

#s5_component_wrap .contact button {
    font-family: "Iceland" !important;
    font-size: 21px;
    color: #d7d7d7;
    background-color: rgb(0, 190, 190);
    background-color: rgba(0, 190, 190, 0.72);
    border-radius: 15px;
    padding: 12px;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}


/* links */
#s5_component_wrap .weblink-category h2 {
    margin-bottom: 0;
}

#s5_component_wrap .weblink-category li {
    list-style: none;
    margin-bottom: 15px;
}


/* contact */
#s5_bottom_row1_area1 {
/*    margin: 15px 0;*/
}

#s5_pos_bottom_row1_1 {
/*    margin-left: 32px;*/
}

#s5_center_area1 .alert-warning a, .alert-warning, .alert-warning h4, .alert-warning .close {
    color: #ff5558 !important;
    text-shadow: none;
}

#s5_center_area1 .alert-message a, .alert-message, .alert-message h4, .alert-message .close {
    color: #5855ff !important;
    text-shadow: none;
}

.alert-warning {
    background-color: transparent;
    border: dashed 2px #ff5558;
}

.alert-message {
    background-color: transparent;
    border: dashed 2px #5855ff;
}

#s5_center_area1 .alert a {
    opacity: 1 !important;
}

.alert h4 {
    font-size: 1.3em;
    font-weight: bold;
}

#jform_contact_email_copy-lbl {
    margin-left: 25px;
}

#jform_contact_email_copy {
    margin-top: -47px;
}


/* social links tuning */
.at4-follow-container a span {
    opacity: 0.65;
}

#at4-share a {
    opacity: 0.45;
}

#at4-share a:first-child {
    border-radius: 20px 0 0 0;
}

#at4-share a.at-svc-compact {
    border-radius: 0 0 0 20px;
}


/* images in banner */
.mod_eco_bxslider_images_phoca_galler {
    position: absolute;
    right: 173px;
    top: 10px;
    width: 405px;
    height: 81px;
    overflow: hidden;
    margin: 0 !important;
}

.bx-wrapper .bx-viewport {
    background-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.bx-loading {
    background-color: #181540 !important;
}

/* TOC */
.spmtoc {
    position: absolute;
    text-align: left;
    padding: 22px;
    border-radius: 15px;
    box-shadow: 0 0 37px rgba(0, 190, 190, 0.65), 0 0 17px rgba(0, 190, 190, 0.65) inset !important;
    border: none !important;
    opacity: 0.9;
}

.spmtoc.fixed {
    position: fixed;
    top: 20px;
}

div.item-page.atelier h2.tuto_cat {
    color: #EBF530;
    font-family: iceland !important;
    font-size: 24px !important;
    margin-top: -30px !important;
}

.toc_title {
    display: block;
    font-family: "Iceland";
    color: #73a0cf;
    font-size: 22px;
    margin-bottom: -10px;
}


/* banner */
#s5_banner {
    padding: 8px 0 0 0;
    overflow: hidden;
    width: 425px !important;
    height: 85px;
    position: relative;
}

#s5_banner #phocagallery-module-ri {
    float: right;
    position: absolute;
}

#s5_banner #phocagallery-module-ri .mosaic {
    float: right !important;
}

#s5_right_wrap #phocagallery-module-ri .pg-box3 {
    width: 144px;
}

/* small screens ajustements */

@media screen and (max-width: 1350px) {

    #s5_banner {
        display: none;
    }

    /* gallery width for 3 images */
    #pg-msnr-container {
	width: 840px
    }

}

@media screen and (max-width: 1050px) {

    /* gallery width for 2 images */
    #pg-msnr-container {
	width: 560px
    }

}

@media screen and (max-width: 1015px) {

    /* search field and menu colision */
    #s5_menu_wrap {
	font-size: 0.9em;
    }

}

@media screen and (max-width: 800px) {

    /* logo */
    #s5_logo_text {
	font-size: 90px;
    }

    /* hide separators on phone menu */
    ul.menu .separator {
	display: none;
    }

    #s5_responsive_mobile_drop_down_menu ul li.deeper ul li, #s5_responsive_mobile_drop_down_menu ul li.deeper ul li a {
	font-size: 10pt !important;
    }

    /* logo */
    #s5_logo_text {
	font-size: 75px;
    }

    /* "atelier" goes 1 column only */
    #at_tit2, #at_tit3, #at_col2, #at_col3 {
    	display: none;
    }

    .at_menu {
    	display: inline-block;
	margin-left: 5px;
    }

}

@media screen and (max-width: 700px) {

    /* gallery width for 1 image */
    #pg-msnr-container {
	width: 280px
    }

}

@media screen and (max-width: 650px) {

    /* logo */
    #s5_logo_text {
	font-size: 65px;
    }

}

@media screen and (max-width: 600px) {

    /* logo */
    #s5_logo_text {
	font-size: 60px;
    }

    #s5_logo {
	float: right !important;
    }

}

@media screen and (max-width: 580px) {

    /* logo */
    #s5_logo_text {
	font-size: 4.5em;
	line-height: 35px;
	top: 10px;
    }

    #s5_top_row1_area1 {
        display: block;
    } 

    #s5_top_row1_area1 .module_round_box_outer {
	display: block;
    }

    div.item-page.home td {
        display: block;
    }

    div.item-page.home td * {
        text-align: left;
    }

    div.item-page.home td img {
        margin: 0;
}

    #s5_right_column_wrap, #s5_right_column_wrap_inner, #s5_right_wrap, #s5_right_wrap .module_round_box_outer {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #s5_columns_wrap_inner #s5_right_column_wrap {
        margin-left: 31px !important;
        margin-top: 31px;
	width: 87% !important;
    }

    #s5_right_column_wrap_inner {
        margin: 0 31px;
    }

    #phocagallery-module-ri {
        width: 100% !important;
        margin-left: 16px !important;
    }

}

@media screen and (max-width: 550px) {

    /* logo */
    #s5_logo {
	display: none !important;
    }

}

