/*!
 * Concello de Ordes
 * styles-media.css
 * Responsive css styles
 */




/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

/* Media Query - LARGE																   */

/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

@media (min-width: 992px) and (max-width: 1199px) {


/* -------------------------------------------------------------
   SLIDESHOW
------------------------------------------------------------- */

/* Text container */
#homepage .carousel .text-container {
	width: 970px;
	margin-left: -485px;
}




}





/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

/* Media Query - MEDIUM																   */

/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

@media (max-width: 991px) {


/* -------------------------------------------------------------
   TYPOGRAPHY
------------------------------------------------------------- */

/* Headings */
h1 {
	font-size: 38px;
}

/* Header */
header h3 {
	font-size: 32px;
}
header p {
	font-size: 16px;
}
header hr {
	width: 90px;
	margin: 20px auto;
}


/* -------------------------------------------------------------
   BUTTONS
------------------------------------------------------------- */

/* Default */
.btn-default {
	height: auto;
	padding: 18px 30px;
	font-size: 12px;
}


/* -------------------------------------------------------------
   HEADER
------------------------------------------------------------- */

/* General */ 
#header .container {
    height: 80px;
}


/* -------------------------------------------------------------
   MAIN NAVIGATION
------------------------------------------------------------- */

/* General */ 
#header #main-navigation .navbar-nav {
	width: 100%;
	margin: 0;
	padding: 0;
}
#header #main-navigation .navbar-nav>li {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	text-align: center;
	border-top: 1px solid #FFF;
}
#header #main-navigation .navbar-nav>li:first-child {
	border-top: none;
}
#header #main-navigation .navbar-nav>li>a {
	display: block;
	height: 50px;
	padding: 15px 10px;
	color: #FFF;
}
#header #main-navigation .navbar-nav>li>a:hover,
#header #main-navigation .navbar-nav>li.active>a {
	color: #FFF;
	background: none;
}
#header #main-navigation .navbar-nav>li.active {
	background: #E31917;
}
#header #main-navigation .navbar-nav>li.active .icon {
	display: none;
}

/* Navbar toggle */ 
#header .navbar-toggle {
	display: block;
	float: right;
	width: 70px;
	height: 80px;
	margin: 0;
	padding: 0 20px;
	background: none;
	border: none;
	outline: none;
	border-radius: 0;
	-webkit-border-radius: 0;
	background: #FFF;
}
#header .navbar-toggle .icon-bar {
	width: 31px;
	height: 3px;
	background: #004b70;
	border-radius: 0;
	-webkit-transition: all 0.3s cubic-bezier(0.56, 0.32, 0.12, 0.9) 0s;
	transition: all 0.3s cubic-bezier(0.56, 0.32, 0.12, 0.9) 0s;
	transform: scaleX(1);
	-ms-transform: scaleX(1);
	-webkit-transform: scaleX(1);
}
#header .navbar-toggle .icon-bar+.icon-bar {
	margin-top: 5px;
}

/* navbar collapse */ 
#header .navbar-collapse.collapse {
	display: none!important;
}
#header .navbar-collapse.collapse.in {
	display: block!important;
}

/* Dropdown */ 
#header #main-navigation .dropdown-menu {
	position: relative;
	float: none;
	width: 100%;
}

#header #main-navigation .dropdown-menu>li {
	text-align: center;
	font-size: 16px;
}
#header #main-navigation .dropdown-menu>li>a {
	height: 50px;
	padding: 15px 10px;
}
#header #main-navigation .dropdown-menu>li>a:hover {
	background: none;
}


/* -------------------------------------------------------------
   BREADCRUMBS / FILTERS
------------------------------------------------------------- */

/* General */
#breadcrumbs-filters .container {
	width: 750px;
}


/* -------------------------------------------------------------
   SLIDESHOW
------------------------------------------------------------- */

/* Text container */
#homepage .carousel .text-container {
	left: 0;
	width: 100%;
	margin-left: 0;
	padding: 75px 15px;
}

/* Article */
#homepage .carousel .text-container article h2 {
	font-size: 52px;
}
#homepage .carousel .text-container article p {
	font-size: 18px;
}


/* -------------------------------------------------------------
   HOMEPAGE SERVICES
------------------------------------------------------------- */

/* General */
#homepage #services {
	padding: 45px 0 60px;
}

/* Listing */
#homepage #services .list-item {
	padding: 0 20px;
}
#homepage #services .list-item h4 {
	font-size: 20px;
}


/* -------------------------------------------------------------
   HOMEPAGE ABOUT US
------------------------------------------------------------- */

/* General */
#homepage #aboutus {
	padding: 45px 0 60px;
}

/* Header */
#homepage #aboutus header {
	margin-bottom: 30px;
}
#homepage #aboutus header p {
	font-size: 16px;
}

/* Content */
#homepage #aboutus p {
	font-size: 20px;
	line-height: 1.6;
}


/* -------------------------------------------------------------
   FREETEXT
------------------------------------------------------------- */

/* General */
.freetext {
	width: 750px;
}


/* -------------------------------------------------------------
   CONTACT
------------------------------------------------------------- */

/* General */
#contact #main-content .content-wrapper {
	width: 100%;
	margin: 0;
	padding: 0 30px;
}
#contact-details {
	padding-left: 30px;
	padding-right: 30px;
}
#contact-details h2 {
	margin-bottom: 15px;
	font-size: 20px;
}
#contact-details ul {
	width: 100%;
	margin: 30px 0 0;
}


/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */

/* Contact details */
#footer .contact-details {
	padding: 30px 0 28px;
}
#footer .contact-details p {
	font-size: 20px;
}
#footer .contact-details p .divider {
	margin: 0 20px;
}
#footer .contact-details p i {
	margin-right: 12px;
}






}






/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

/* Media Query - SMALL																   */

/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

@media (max-width: 767px) {


/* -------------------------------------------------------------
   HEADER
------------------------------------------------------------- */

/* Logo */
#header .logo {
	top: 14px;
	left: 50%;
	width: 180px;
	margin-left: -90px;
}


/* -------------------------------------------------------------
   BREADCRUMBS / FILTERS
------------------------------------------------------------- */

/* General */
#breadcrumbs-filters .container {
	display: none;
}


/* -------------------------------------------------------------
   SLIDESHOW
------------------------------------------------------------- */

/* Item */
#homepage .carousel .item {
	background: none;
}

/* Spacer */
#homepage .carousel .item .spacer img {
	display: none;
}

/* Mobile image */
#homepage .carousel .item .image-small {
	display: block;
	width: 100%;
	margin: 0;
}

/* Text container */
#homepage .carousel .text-container {
	padding: 15px;
}

/* Article */
#homepage .carousel .text-container article h2 {
	font-size: 42px;
}
#homepage .carousel .text-container article p {
	font-size: 14px;
}


/* -------------------------------------------------------------
   HOMEPAGE ABOUT US
------------------------------------------------------------- */

/* General */
#homepage #aboutus .container {
	padding: 0 30px;
}

/* Content */
#homepage #aboutus p {
	font-size: 18px;
	line-height: 1.6;
}


/* -------------------------------------------------------------
   FREETEXT
------------------------------------------------------------- */

/* General */
.freetext {
	width: 100%;
	padding: 0 30px;
}


/* -------------------------------------------------------------
   RELATED INFORMATION
------------------------------------------------------------- */

/* List item */
#related-info .related-items li {
	width: 100%;
	padding-right: 0;
}
#related-info .related-items li:nth-child(2n+1) {
	clear: none;
}

/* Gallery */
#related-info .gallery li {
	width: 33.33333333%;
}


/* -------------------------------------------------------------
   CONTACT
------------------------------------------------------------- */

/* Contact details */
#contact-details {
	padding: 45px 30px;
}
#contact-details h2 {
	font-size: 18px;
}
#contact-details ul {
	width: 100%;
	margin: 30px 0 0;
}

/* Page header */
#contact .page-header,
#contact .page-header h1 {
	text-align: left;
}

/* Contact form */
.contact-form .control-label {
	width: 30%;
}
.contact-form .input-container {
	width: 70%;
}
#contact .form-horizontal .control-label {
	padding-top: 7px;
}


/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */

/* Contact details */
#footer .contact-details {
	padding: 20px 0 18px;
}
#footer .contact-details p {
	font-size: 18px;
}
#footer .contact-details p .divider {
	margin: 0 15px;
}
#footer .contact-details p i {
	margin-right: 10px;
}








}





/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

/* Media Query - X SMALL															   */

/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

@media (max-width: 580px) {


/* -------------------------------------------------------------
   TYPOGRAPHY
------------------------------------------------------------- */

/* Headings */
h1 {
	font-size: 32px;
}

/* Header */
header h3 {
	font-size: 24px;
}
header p {
	font-size: 12px;
}

/* Paragraph */
p.lead {
	font-size: 18px;
	line-height: 1.4em;
}


/* -------------------------------------------------------------
   HEADER
------------------------------------------------------------- */

/* Social follow */
#header .social-follow {
	display: none;
}


/* -------------------------------------------------------------
   MAIN NAVIGATION
------------------------------------------------------------- */

/* Navbar toggle */ 
#header .navbar-toggle {
	width: 56px;
	margin-right: 15px;
	padding: 0 15px;
}
#header .navbar-toggle .icon-bar {
	width: 26px;
	height: 3px;
}
#header .navbar-toggle .icon-bar+.icon-bar {
	margin-top: 5px;
}


/* -------------------------------------------------------------
   BREADCRUMBS / FILTERS
------------------------------------------------------------- */

/* General */
#breadcrumbs-filters .container {
	padding: 0 15px;
}


/* -------------------------------------------------------------
   SLIDESHOW
------------------------------------------------------------- */

/* Article */
#homepage .carousel .text-container {
	padding: 15px 32px;
}
#homepage .carousel .text-container article {
	padding: 15px 30px;
}
#homepage .carousel .text-container article h2 {
	font-size: 32px;
}
#homepage .carousel .text-container article p {
	font-size: 12px;
}

/* Controls */
#homepage .carousel .carousel-control {
	width: 32px;
}
#homepage .carousel .carousel-control .icon {
	width: 32px;
	height: 32px;
	margin-top: -16px;
	line-height: 32px;
}
#homepage .carousel-control .icon:before {
	font-size: 45px;
}


/* -------------------------------------------------------------
   HOMEPAGE SERVICES
------------------------------------------------------------- */

/* General */
#homepage #services .container {
	width: 400px;
}

/* Listing */
#homepage #services .list-item {
	width: 100%;
	margin-bottom: 60px;
	padding: 0;
}
#homepage #services .list-item:last-child {
	margin-bottom: 30px;
}
#homepage #services .list-item img {
	margin-bottom: 15px;
}
#homepage #services .list-item p {
	font-size: 13px;
	margin-bottom: 0;
}


/* -------------------------------------------------------------
   HOMEPAGE ABOUT US
------------------------------------------------------------- */

/* Header */
#homepage #aboutus header p {
	font-size: 13px;
}

/* Content */
#homepage #aboutus p {
	font-size: 15px;
	line-height: 1.6;
}


/* -------------------------------------------------------------
   FREETEXT
------------------------------------------------------------- */

/* General */
.freetext {
	padding: 0 15px;
}


/* -------------------------------------------------------------
   CONTACT
------------------------------------------------------------- */

/* General */
#contact #main-content .content-wrapper {
	padding: 0 15px;
}

/* Contact details */
#contact-details {
	padding-left: 15px;
	padding-right: 15px;
}


/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */

/* Contact details */
#footer .contact-details {
	padding: 20px 0 18px;
}
#footer .contact-details p {
	font-size: 15px;
}
#footer .contact-details p .divider {
	margin: 0 10px;
}
#footer .contact-details p i {
	margin-right: 10px;
}






}





/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

/* Media Query - XX SMALL															   */

/* ----------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------- */

@media (max-width: 480px) {


/* -------------------------------------------------------------
   HEADER
------------------------------------------------------------- */

/* Logo */
#header .logo {
	top: 20px;
	width: 150px;
	margin-left: -75px;
}


/* -------------------------------------------------------------
   MAIN NAVIGATION
------------------------------------------------------------- */

/* Navbar toggle */ 
#header .navbar-toggle {
	margin-right: 0;
}


/* -------------------------------------------------------------
   SLIDESHOW
------------------------------------------------------------- */

/* Article */
#homepage .carousel .text-container article {
	padding: 15px;
}
#homepage .carousel .text-container article h2 {
	font-size: 24px;
}
#homepage .carousel .text-container article p {
	font-size: 10px;
}


/* -------------------------------------------------------------
   HOMEPAGE SERVICES
------------------------------------------------------------- */

/* General */
#homepage #services .container {
	width: 100%;
	padding: 0 30px;
}


/* -------------------------------------------------------------
   CONTACT
------------------------------------------------------------- */

/* General */
.contact-form .form-group {
	margin-bottom: 20px;
	padding: 0;
	background: none;
}
.contact-form .control-label {
	width: 100%;
	padding: 0;
}
.contact-form .input-container {
	width: 100%;
	padding: 0;
	background: #FFF;
	border: none;
	border-top: 1px solid #f2f2f2;
}
.contact-form .form-control {
	padding: 6px 15px;
	border: none;
}
#contact .form-horizontal .control-label {
	padding: 0;
}
#contact .select2-container--default .select2-selection--single {
	border: none;
}

/* Contact details */
#contact-details li {
	font-size: 12px;
}


/* -------------------------------------------------------------
   FOOTER
------------------------------------------------------------- */

/* Contact details */
#footer .contact-details {
	padding: 15px 0 1px;
}
#footer .contact-details p .contact-detail {
	display: block;
	margin-bottom: 12px;
}
#footer .contact-details p .divider {
	display: none;
}
#footer .contact-details p i {
	margin-right: 10px;
}





}


