﻿/*ON THE RIVER ENGLISH*/

#header2 #header-container { flex-direction: row-reverse; }
#header2 #header-left { justify-content: flex-start; }
.has-sub i.opensub { margin-right: 7px; margin-left: 0; }
#header2 ul.menu li { margin-left: 0; margin-right: 10px; }

.section:first-child .section-title h2:before, 
.section-title h3:before, 
.form-container-wide #DynamicFormObject h3:before, 
#subheadline h2:before, 
#headline h1:before, 
.menuModuleTextItemSubjectTitle:before { margin-right: 15px; margin-left: 0; }

.section:first-child .section-title h2:after, 
.section-title h3:after, 
.form-container-wide #DynamicFormObject h3:after, 
#subheadline h2:after, 
#headline h1:after, 
.menuModuleTextItemSubjectTitle:after { margin-right: 0; margin-left:15px;}

.section:first-child .section-title h2, 
.section-title h3, 
.form-container-wide #DynamicFormObject h3, 
#subheadline h2, 
#headline h1, 
.menuModuleTextItemSubjectTitle { font-size: 36px;}

@media (max-width: 991px) {
    .section:first-child .section-title h2, 
    .section-title h3, 
    .form-container-wide #DynamicFormObject h3, 
    #subheadline h2, 
    #headline h1, 
    .menuModuleTextItemSubjectTitle { font-size: 24px; margin: 0; }

    #header2.fixedMenu ul.menu, #header2 ul.menu { text-align: center; }
    #header2 .menu-sub { text-align: center; left: 40px; right: auto; }
}

/*header*/
@media (max-width: 550px) {
    #header2 .phone-icon { left: auto; right: -40%; }
    #header2 .header-top-left { margin-left: 15px; margin-right: 0; }
}

/*menu*/
.menuModuleTextItemDescription { font-size: 100%; }

/*contact page*/
.form-container-wide #DynamicFormObject .dynamicFormObjectSubmit { text-align: center; }
.form-container-wide .must:before { right: auto; left: 14px; }
.normal-form input, .normal-form textarea, .normal-form select { padding: 12px 15px; }

@media (max-width: 991px) {
    #DynamicFormObject .dynamicFormObjectField .must:before { right: auto; left: 14px; }
}

/*language*/
#header2 .header-top-right a.lang { margin-left: 0; margin-right: 15px; background: transparent; color: #FFF; font-size: 120%; }
#header2 .header-top-right { display: flex; flex-direction: row; align-items: center; }
#header2 .header-top .address { font-size: 100%; }
#header2 .languages { border-left: none; }
#header2 .header-top-right a.lang:focus { border-bottom: none; }
#header2 .header-top-right a.lang:hover { border-bottom: 1px solid; }
#header2 .header-top-left { margin-right: 0; }